mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Remove refs to old, dead caches.
git-svn-id: https://develop.svn.wordpress.org/trunk@6260 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user