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:
ryan 2010-05-19 18:39:48 +00:00
parent caf573b721
commit b5619ffd0c
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;
}