[wp-cvs] wordpress/wp-includes functions.php,1.117,1.118
Ryan Boren
rboren at users.sourceforge.net
Fri Jun 11 11:51:41 CDT 2004
Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16826
Modified Files:
functions.php
Log Message:
stripslashes() elimination.
Index: functions.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions.php,v
retrieving revision 1.117
retrieving revision 1.118
diff -C2 -d -r1.117 -r1.118
*** functions.php 10 Jun 2004 10:01:45 -0000 1.117
--- functions.php 11 Jun 2004 16:51:39 -0000 1.118
***************
*** 1047,1051 ****
$more = 1;
$multipage = 1;
! $content = stripslashes($post->post_content);
$content = str_replace("\n<!--nextpage-->\n", '<!--nextpage-->', $content);
$content = str_replace("\n<!--nextpage-->", '<!--nextpage-->', $content);
--- 1047,1051 ----
$more = 1;
$multipage = 1;
! $content = $post->post_content;
$content = str_replace("\n<!--nextpage-->\n", '<!--nextpage-->', $content);
$content = str_replace("\n<!--nextpage-->", '<!--nextpage-->', $content);
***************
*** 1054,1058 ****
$numpages = count($pages);
} else {
! $pages[0] = stripslashes($post->post_content);
$multipage = 0;
}
--- 1054,1058 ----
$numpages = count($pages);
} else {
! $pages[0] = $post->post_content;
$multipage = 0;
}
More information about the cvs
mailing list