Make WordPress Core

Ticket #50549: 50549.diff

File 50549.diff, 2.3 KB (added by dartiss, 5 years ago)
  • wp-admin/includes/class-wp-site-health.php

    diff --git a/wp-admin/includes/class-wp-site-health.php b/wp-admin/includes/class-wp-site-health.php
    index 801707d2f0f..2b48212d32c 100644
    a b private function prepare_sql_data() { 
    215215         * It's possible to block updates with the `wp_version_check` filter, but this can't be checked
    216216         * during an Ajax call, as the filter is never introduced then.
    217217         *
    218          * This filter overrides a normal page request if it's made by an admin through the Ajax call
     218         * This filter overrides a standard page request if it's made by an admin through the Ajax call
    219219         * with the right query argument to check for this.
    220220         *
    221221         * @since 5.2.0
    public function get_test_theme_version() { 
    692692
    693693                        $result['description'] .= sprintf(
    694694                                '<p>%s</p>',
    695                                 __( 'Your site does not have any default theme. Default themes are used by WordPress automatically if anything is wrong with your normal theme.' )
     695                                __( 'Your site does not have any default theme. Default themes are used by WordPress automatically if anything is wrong with your chosen theme.' )
    696696                        );
    697697                }
    698698
    public function get_test_php_extensions() { 
    981981                        // If this module is a fallback for another function, check if that other function passed.
    982982                        if ( isset( $module['fallback_for'] ) ) {
    983983                                /*
    984                                  * If that other function has a failure, mark this module as required for normal operations.
     984                                 * If that other function has a failure, mark this module as required for usual operations.
    985985                                 * If that other function hasn't failed, skip this test as it's only a fallback.
    986986                                 */
    987987                                if ( isset( $failures[ $module['fallback_for'] ] ) ) {
    public function get_test_is_in_debug_mode() { 
    14531453                                        '<p>%s</p>',
    14541454                                        sprintf(
    14551455                                                /* translators: %s: WP_DEBUG_LOG */
    1456                                                 __( 'The value, %s, has been added to this website&#8217;s configuration file. This means any errors on the site will be written to a file which is potentially available to normal users.' ),
     1456                                                __( 'The value, %s, has been added to this website&#8217;s configuration file. This means any errors on the site will be written to a file which is potentially available to all users.' ),
    14571457                                                '<code>WP_DEBUG_LOG</code>'
    14581458                                        )
    14591459                                );