Changeset 6688

Show
Ignore:
Timestamp:
01/29/08 23:58:41 (5 months ago)
Author:
ryan
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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    }