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
This commit is contained in:
parent
fd752670a2
commit
ca76abd7e8
|
@ -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();
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue