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/src/wp-admin/includes/class-wp-site-health.php

    r47063 r47122  
    104104                        $tests = WP_Site_Health::get_tests();
    105105
    106                         // Don't run https test on localhost
     106                        // Don't run https test on localhost.
    107107                        if ( 'localhost' === preg_replace( '|https?://|', '', get_site_url() ) ) {
    108108                                unset( $tests['direct']['https_status'] );
     
    12181218                                );
    12191219                        }
    1220                 } else { // MariaDB introduced utf8mb4 support in 5.5.0
     1220                } else { // MariaDB introduced utf8mb4 support in 5.5.0.
    12211221                        if ( version_compare( $this->mysql_server_version, '5.5.0', '<' ) ) {
    12221222                                $result['status'] = 'recommended';
     
    22362236                );
    22372237
    2238                 // Don't run https test on localhost
     2238                // Don't run https test on localhost.
    22392239                if ( 'localhost' === preg_replace( '|https?://|', '', get_site_url() ) ) {
    22402240                        unset( $tests['direct']['https_status'] );
Note: See TracChangeset for help on using the changeset viewer.