Fix pages setup in setup_postdata(). Props misterbisson. fixes #12651

git-svn-id: https://develop.svn.wordpress.org/trunk@14750 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-05-19 18:39:48 +00:00
parent efff0fe8bb
commit 8203d22175
1 changed files with 1 additions and 1 deletions

View File

@ -2865,7 +2865,7 @@ function setup_postdata($post) {
$pages = explode('<!--nextpage-->', $content);
$numpages = count($pages);
} else {
$pages[0] = $post->post_content;
$pages = array( $post->post_content );
$multipage = 0;
}