WordPress.org

Make WordPress Core

Changeset 14750


Ignore:
Timestamp:
05/19/2010 06:39:48 PM (8 years ago)
Author:
ryan
Message:

Fix pages setup in setup_postdata(). Props misterbisson. fixes #12651

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/query.php

    r14665 r14750  
    28662866        $numpages = count($pages);
    28672867    } else {
    2868         $pages[0] = $post->post_content;
     2868        $pages = array( $post->post_content );
    28692869        $multipage = 0;
    28702870    }
Note: See TracChangeset for help on using the changeset viewer.