Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (7 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/tests/phpunit/tests/multisite.php

    r47013 r47122  
    3131                        wpmu_log_new_registrations( 1, 1 );
    3232
    33                         // currently there is no wrapper function for the registration_log
     33                        // Currently there is no wrapper function for the registration_log.
    3434                        $reg_blog = $wpdb->get_col( $wpdb->prepare( "SELECT email FROM {$wpdb->registration_log} WHERE {$wpdb->registration_log}.blog_id = 1 AND IP LIKE %s", $ip ) );
    3535                        $this->assertEquals( $user->user_email, $reg_blog[ count( $reg_blog ) - 1 ] );
    … …  
    4040                 */
    4141                function test_wp_count_sites() {
    42                         // create a random number of sites with each status.
     42                        // Create a random number of sites with each status.
    4343                        $site_ids = array(
    4444                                'public'   => self::factory()->blog->create_many(
    … …  
    8585                                $counts_by_status
    8686                        );
    87                         // add 1 to all & public for the main site.
     87                        // Add 1 to all & public for the main site.
    8888                        $expected['all']    += 1;
    8989                        $expected['public'] += 1;
Note: See TracChangeset for help on using the changeset viewer.