stripslashes() elimination.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8476f07326
commit
7ff35cf184
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue