Ticket #5121: save_fist_wp_query_to_wp_the_query.patch
| File save_fist_wp_query_to_wp_the_query.patch, 449 bytes (added by 082net, 5 years ago) |
|---|
-
wp-includes/functions.php
726 726 } 727 727 728 728 function wp($query_vars = '') { 729 global $wp ;729 global $wp, $wp_query, $wp_the_query; 730 730 731 731 $wp->main($query_vars); 732 733 if( !isset($wp_the_query) ) 734 $wp_the_query = $wp_query; 732 735 } 733 736 734 737 function get_status_header_desc( $code ) {
