Fix pages setup in setup_postdata(). Props misterbisson. fixes #12651
git-svn-id: http://svn.automattic.com/wordpress/trunk@14750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
caf573b721
commit
b5619ffd0c
|
@ -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