Remove debug
git-svn-id: https://develop.svn.wordpress.org/trunk@14303 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ab27ecda6d
commit
d2e7d2a8c3
|
@ -881,7 +881,6 @@ function clean_user_cache($id) {
|
||||||
// If the current user changed, reset the current_user global.Œ
|
// If the current user changed, reset the current_user global.Œ
|
||||||
if ( isset($current_user) && $current_user->ID == $id ) {
|
if ( isset($current_user) && $current_user->ID == $id ) {
|
||||||
$current_user->ID = -1; // Force wp_set_current_user to reset.
|
$current_user->ID = -1; // Force wp_set_current_user to reset.
|
||||||
error_log(" Resetting current user ");
|
|
||||||
wp_set_current_user($id);
|
wp_set_current_user($id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue