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:
parent
efff0fe8bb
commit
8203d22175
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user