mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-03 20:09:40 +00:00
Remove refs to old, dead caches.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2c5016e8fa
commit
38a3758570
@ -15,12 +15,8 @@ function get_usernumposts($userid) {
|
||||
|
||||
// TODO: xmlrpc only. Maybe move to xmlrpc.php.
|
||||
function user_pass_ok($user_login,$user_pass) {
|
||||
global $cache_userdata;
|
||||
if ( empty($cache_userdata[$user_login]) ) {
|
||||
$userdata = get_userdatabylogin($user_login);
|
||||
} else {
|
||||
$userdata = $cache_userdata[$user_login];
|
||||
}
|
||||
$userdata = get_userdatabylogin($user_login);
|
||||
|
||||
return (md5($user_pass) == $userdata->user_pass);
|
||||
}
|
||||
|
||||
|
@ -20,7 +20,7 @@ function wp_unregister_GLOBALS() {
|
||||
|
||||
wp_unregister_GLOBALS();
|
||||
|
||||
unset( $wp_filter, $cache_userdata, $cache_lastcommentmodified, $cache_lastpostdate, $cache_settings, $category_cache, $cache_categories );
|
||||
unset( $wp_filter, $cache_lastcommentmodified, $cache_lastpostdate );
|
||||
|
||||
if ( ! isset($blog_id) )
|
||||
$blog_id = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user