You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/wp-admin/network/users.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -134,7 +134,7 @@
134
134
$blogs = get_blogs_of_user( $user_id, true );
135
135
136
136
foreach ( $blogsas$details ) {
137
-
if ( ! is_main_site( $details->userblog_id ) ) { // Main site is never a spam!
137
+
if ( ! is_main_site( $details->userblog_id ) && $details->site_id === get_current_network_id() ) { // Main site is never a spam and part of the current network.
0 commit comments