Changeset 47122 for trunk/src/wp-admin/network/users.php
- Timestamp:
- 01/29/2020 12:43:23 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/network/users.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/users.php
r45932 r47122 29 29 $id = intval( $_GET['id'] ); 30 30 if ( $id != '0' && $id != '1' ) { 31 $_POST['allusers'] = array( $id ); // confirm_delete_users() can only handle with arrays31 $_POST['allusers'] = array( $id ); // confirm_delete_users() can only handle arrays. 32 32 $title = __( 'Users' ); 33 33 $parent_file = 'users.php'; … … 85 85 86 86 foreach ( (array) $blogs as $details ) { 87 if ( $details->userblog_id != get_network()->site_id ) { // main blog not a spam!87 if ( $details->userblog_id != get_network()->site_id ) { // Main blog is not a spam! 88 88 update_blog_status( $details->userblog_id, 'spam', '1' ); 89 89 }
Note: See TracChangeset
for help on using the changeset viewer.