diff --git a/wp-includes/query.php b/wp-includes/query.php index afa38f3af..5395f3b1b 100644 --- a/wp-includes/query.php +++ b/wp-includes/query.php @@ -2865,7 +2865,7 @@ function setup_postdata($post) { $pages = explode('', $content); $numpages = count($pages); } else { - $pages[0] = $post->post_content; + $pages = array( $post->post_content ); $multipage = 0; }