summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-includes/functions.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-12-20 15:12:04 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-12-20 15:12:04 +0000
commitcc83ad3fc583dc8492842143d030ebb15275b02b (patch)
tree20b31056c7dbf1950c00808564595721d18c44fa /wp-inst/wp-includes/functions.php
parent85a3cd1e5bd9e8861b2034402518891c5f905dac (diff)
WP Merge
Cache fixes git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@477 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-includes/functions.php')
-rw-r--r--wp-inst/wp-includes/functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-inst/wp-includes/functions.php b/wp-inst/wp-includes/functions.php
index d4b5f78..8cd8503 100644
--- a/wp-inst/wp-includes/functions.php
+++ b/wp-inst/wp-includes/functions.php
@@ -2219,7 +2219,7 @@ function update_usermeta( $user_id, $meta_key, $meta_value ) {
$user = get_userdata($user_id);
wp_cache_delete($user_id, 'users');
- wp_cache_delete($user->user_login, 'users');
+ wp_cache_delete($user->user_login, 'userlogins');
return true;
}
@@ -2241,7 +2241,7 @@ function delete_usermeta( $user_id, $meta_key, $meta_value = '' ) {
$user = get_userdata($user_id);
wp_cache_delete($user_id, 'users');
- wp_cache_delete($user->user_login, 'users');
+ wp_cache_delete($user->user_login, 'userlogins');
return true;
}