From ca76abd7e838b5760bc010d4ad3a38e693696667 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Tue, 15 Feb 2022 21:21:00 +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. Built from https://develop.svn.wordpress.org/trunk@52737 git-svn-id: http://core.svn.wordpress.org/trunk@52326 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/ms-functions.php | 1 - wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/wp-includes/ms-functions.php b/wp-includes/ms-functions.php index 4ba038cd00..2059e6da7d 100644 --- a/wp-includes/ms-functions.php +++ b/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(); diff --git a/wp-includes/version.php b/wp-includes/version.php index 3dc72e7124..a1334430d4 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-alpha-52735'; +$wp_version = '6.0-alpha-52737'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.