From 582f4e7da8b6c728d2183e105454ae46debb5813 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Tue, 15 Feb 2022 21:19:20 +0000 Subject: [PATCH] Networks and Sites: Remove unnecessary commented code from `remove_user_from_blog()`. This change removes a call to `wp_revoke_user()` from `remove_user_from_blog()`: this line has been commented out since forever. Props Faison. Fixes #55170. git-svn-id: https://develop.svn.wordpress.org/trunk@52737 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/ms-functions.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wp-includes/ms-functions.php b/src/wp-includes/ms-functions.php index 4ba038cd00..2059e6da7d 100644 --- a/src/wp-includes/ms-functions.php +++ b/src/wp-includes/ms-functions.php @@ -280,7 +280,6 @@ function remove_user_from_blog( $user_id, $blog_id = 0, $reassign = 0 ) { update_user_meta( $user_id, 'source_domain', $new_domain ); } - // wp_revoke_user( $user_id ); $user = get_userdata( $user_id ); if ( ! $user ) { restore_current_blog();