WordPress.org

Make WordPress Core

Ticket #12651: postdata-fix.diff

File postdata-fix.diff, 361 bytes (added by misterbisson, 8 years ago)
  • query.php

     
    27932793                $pages = explode('<!--nextpage-->', $content);
    27942794                $numpages = count($pages);
    27952795        } else {
    2796                 $pages[0] = $post->post_content;
     2796                $pages = array( $post->post_content );
    27972797                $multipage = 0;
    27982798        }
    27992799