stripslashes() elimination.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2004-06-11 16:51:39 +00:00
parent 8476f07326
commit 7ff35cf184
1 changed files with 2 additions and 2 deletions

View File

@ -1046,14 +1046,14 @@ function start_wp() {
if ($page > 1)
$more = 1;
$multipage = 1;
$content = stripslashes($post->post_content);
$content = $post->post_content;
$content = str_replace("\n<!--nextpage-->\n", '<!--nextpage-->', $content);
$content = str_replace("\n<!--nextpage-->", '<!--nextpage-->', $content);
$content = str_replace("<!--nextpage-->\n", '<!--nextpage-->', $content);
$pages = explode('<!--nextpage-->', $content);
$numpages = count($pages);
} else {
$pages[0] = stripslashes($post->post_content);
$pages[0] = $post->post_content;
$multipage = 0;
}
return true;