Changeset 6260
- Timestamp:
- 10/17/07 17:37:21 (1 year ago)
- Files:
-
- trunk/wp-includes/user.php (modified) (1 diff)
- trunk/wp-settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/user.php
r6124 r6260 16 16 // TODO: xmlrpc only. Maybe move to xmlrpc.php. 17 17 function user_pass_ok($user_login,$user_pass) { 18 global $cache_userdata; 19 if ( empty($cache_userdata[$user_login]) ) { 20 $userdata = get_userdatabylogin($user_login); 21 } else { 22 $userdata = $cache_userdata[$user_login]; 23 } 18 $userdata = get_userdatabylogin($user_login); 19 24 20 return (md5($user_pass) == $userdata->user_pass); 25 21 } trunk/wp-settings.php
r6208 r6260 21 21 wp_unregister_GLOBALS(); 22 22 23 unset( $wp_filter, $cache_ userdata, $cache_lastcommentmodified, $cache_lastpostdate, $cache_settings, $category_cache, $cache_categories);23 unset( $wp_filter, $cache_lastcommentmodified, $cache_lastpostdate ); 24 24 25 25 if ( ! isset($blog_id) )
