Changeset 6644
- Timestamp:
- 01/23/2008 06:20:59 PM (17 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 3 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 -
trunk/wp-includes/user.php
r6643 r6644 49 49 return $user; 50 50 51 wp_set_auth_cookie($user->ID );51 wp_set_auth_cookie($user->ID, $credentials['remember']); 52 52 do_action('wp_login', $credentials['user_login']); 53 53 return $user; -
trunk/wp-includes/widgets.php
r6560 r6644 875 875 <?php echo $after_widget; ?> 876 876 <?php 877 wp_reset_query(); // Restore global post data stomped by the_post(). 877 878 endif; 878 879 wp_cache_add('widget_recent_entries', ob_get_flush());
Note: See TracChangeset
for help on using the changeset viewer.