mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Remove debug
git-svn-id: http://svn.automattic.com/wordpress/trunk@14303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ec46abfe29
commit
5f501c920c
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user