mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user