mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Remove debug
git-svn-id: https://develop.svn.wordpress.org/trunk@14303 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -881,7 +881,6 @@ function clean_user_cache($id) {
|
||||
// If the current user changed, reset the current_user global.Œ
|
||||
if ( isset($current_user) && $current_user->ID == $id ) {
|
||||
$current_user->ID = -1; // Force wp_set_current_user to reset.
|
||||
error_log(" Resetting current user ");
|
||||
wp_set_current_user($id);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user