[wp-cvs] wordpress/wp-admin post.php,1.90,1.91
Matthew Mullenweg
saxmatt at users.sourceforge.net
Mon Oct 11 22:07:11 UTC 2004
Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12965/wp-admin
Modified Files:
post.php
Log Message:
Move balanceTags into filters.
Index: post.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/post.php,v
retrieving revision 1.90
retrieving revision 1.91
diff -C2 -d -r1.90 -r1.91
*** post.php 6 Oct 2004 05:11:09 -0000 1.90
--- post.php 11 Oct 2004 22:07:07 -0000 1.91
***************
*** 49,55 ****
$post_pingback = intval($_POST['post_pingback']);
! $content = balanceTags($_POST['content']);
$content = format_to_post($content);
! $excerpt = balanceTags($_POST['excerpt']);
$excerpt = format_to_post($excerpt);
$post_title = $_POST['post_title'];
--- 49,55 ----
$post_pingback = intval($_POST['post_pingback']);
! $content = apply_filters('content_save_pre', $_POST['content']);
$content = format_to_post($content);
! $excerpt = apply_filters('excerpt_save_pre',$_POST['excerpt']);
$excerpt = format_to_post($excerpt);
$post_title = $_POST['post_title'];
***************
*** 282,288 ****
$post_categories = $_POST['post_category'];
if (!$post_categories) $post_categories[] = 1;
! $content = balanceTags($_POST['content']);
$content = format_to_post($content);
! $excerpt = balanceTags($_POST['excerpt']);
$excerpt = format_to_post($excerpt);
$post_title = $_POST['post_title'];
--- 282,288 ----
$post_categories = $_POST['post_category'];
if (!$post_categories) $post_categories[] = 1;
! $content = apply_filters('content_save_pre', $_POST['content']);
$content = format_to_post($content);
! $excerpt = apply_filters('excerpt_save_pre', $_POST['excerpt']);
$excerpt = format_to_post($excerpt);
$post_title = $_POST['post_title'];
***************
*** 703,707 ****
$datemodif = '';
}
! $content = balanceTags($_POST['content']);
$content = format_to_post($content);
--- 703,707 ----
$datemodif = '';
}
! $content = apply_filters('comment_save_pre', $_POST['content']);
$content = format_to_post($content);
More information about the cvs
mailing list