Make WordPress Core

Changeset 6688


Ignore:
Timestamp:
01/29/2008 11:58:41 PM (17 years ago)
Author:
ryan
Message:

Don't advance post counter when resetting query. see #5439

File:
1 edited

Legend:

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

    r6683 r6688  
    2828    global $wp_query;
    2929    if ( !empty($wp_query->post) ) {
    30         $GLOBALS['post'] = $wp_query->next_post();
     30        $GLOBALS['post'] = $wp_query->post;
    3131        setup_postdata($wp_query->post);
    3232    }
Note: See TracChangeset for help on using the changeset viewer.