diff --git a/wp-includes/user.php b/wp-includes/user.php index 0cc5c4c3ca..3eba1ec54c 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -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); }