Changeset 6644 for trunk/wp-includes/query.php
- Timestamp:
- 01/23/2008 06:20:59 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r6509 r6644 26 26 unset($GLOBALS['wp_query']); 27 27 $GLOBALS['wp_query'] =& $GLOBALS['wp_the_query']; 28 global $wp_query; 29 if ( !empty($wp_query->post) ) { 30 $GLOBALS['post'] = $wp_query->post; 31 setup_postdata($wp_query->post); 32 } 28 33 } 29 34
Note: See TracChangeset
for help on using the changeset viewer.