Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.3/wp-includes/functions.php

    r6197 r6232  
    727727
    728728function wp($query_vars = '') {
    729     global $wp;
     729    global $wp, $wp_query, $wp_the_query;
    730730
    731731    $wp->main($query_vars);
     732
     733    if( !isset($wp_the_query) )
     734        $wp_the_query = $wp_query;
    732735}
    733736
Note: See TracChangeset for help on using the changeset viewer.