Changeset 22434 for trunk/wp-includes/query.php
- Timestamp:
- 11/07/2012 08:03:28 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/query.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r22428 r22434 88 88 */ 89 89 function query_posts($query) { 90 unset($GLOBALS['wp_query']);91 90 $GLOBALS['wp_query'] = new WP_Query(); 92 91 return $GLOBALS['wp_query']->query($query); … … 104 103 */ 105 104 function wp_reset_query() { 106 unset($GLOBALS['wp_query']);107 105 $GLOBALS['wp_query'] = $GLOBALS['wp_the_query']; 108 106 wp_reset_postdata();
Note: See TracChangeset
for help on using the changeset viewer.