WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (15 months ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/network/users.php

    r45932 r47122  
    2929            $id = intval( $_GET['id'] );
    3030            if ( $id != '0' && $id != '1' ) {
    31                 $_POST['allusers'] = array( $id ); // confirm_delete_users() can only handle with arrays
     31                $_POST['allusers'] = array( $id ); // confirm_delete_users() can only handle arrays.
    3232                $title             = __( 'Users' );
    3333                $parent_file       = 'users.php';
     
    8585
    8686                                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!
    8888                                        update_blog_status( $details->userblog_id, 'spam', '1' );
    8989                                    }
Note: See TracChangeset for help on using the changeset viewer.