stripslashes() elimination.
git-svn-id: https://develop.svn.wordpress.org/trunk@1408 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
458aa60535
commit
9da4053c26
@ -1046,14 +1046,14 @@ function start_wp() {
|
|||||||
if ($page > 1)
|
if ($page > 1)
|
||||||
$more = 1;
|
$more = 1;
|
||||||
$multipage = 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-->\n", '<!--nextpage-->', $content);
|
||||||
$content = str_replace("\n<!--nextpage-->", '<!--nextpage-->', $content);
|
$content = str_replace("\n<!--nextpage-->", '<!--nextpage-->', $content);
|
||||||
$content = str_replace("<!--nextpage-->\n", '<!--nextpage-->', $content);
|
$content = str_replace("<!--nextpage-->\n", '<!--nextpage-->', $content);
|
||||||
$pages = explode('<!--nextpage-->', $content);
|
$pages = explode('<!--nextpage-->', $content);
|
||||||
$numpages = count($pages);
|
$numpages = count($pages);
|
||||||
} else {
|
} else {
|
||||||
$pages[0] = stripslashes($post->post_content);
|
$pages[0] = $post->post_content;
|
||||||
$multipage = 0;
|
$multipage = 0;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user