Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (5 years 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/includes/class-wp-ms-sites-list-table.php

    r47059 r47122  
    115115                    preg_match( '/^[0-9]{1,3}\.[0-9]{1,3}\.?$/', $s ) ||
    116116                    preg_match( '/^[0-9]{1,3}\.$/', $s ) ) {
    117             // IPv4 address
     117            // IPv4 address.
    118118            $sql          = $wpdb->prepare( "SELECT blog_id FROM {$wpdb->registration_log} WHERE {$wpdb->registration_log}.IP LIKE %s", $wpdb->esc_like( $s ) . ( ! empty( $wild ) ? '%' : '' ) );
    119119            $reg_blog_ids = $wpdb->get_col( $sql );
     
    134134        $order_by = isset( $_REQUEST['orderby'] ) ? $_REQUEST['orderby'] : '';
    135135        if ( 'registered' === $order_by ) {
    136             // registered is a valid field name.
     136            // 'registered' is a valid field name.
    137137        } elseif ( 'lastupdated' === $order_by ) {
    138138            $order_by = 'last_updated';
Note: See TracChangeset for help on using the changeset viewer.