WordPress.org

Make WordPress Core

Changeset 48560


Ignore:
Timestamp:
07/22/2020 12:15:33 AM (2 months ago)
Author:
SergeyBiryukov
Message:

Site Health: Fix some typos in the test for plugin and theme auto-updates.

Follow-up to [48548], [48558], [48559].

See #50662.

Location:
trunk/src/wp-admin/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ajax-actions.php

    r48534 r48560  
    51985198}
    51995199
    5200 
    52015200/**
    52025201 * Ajax handler for site health checks on loopback requests.
  • trunk/src/wp-admin/includes/class-wp-site-health.php

    r48559 r48560  
    17441744    public function get_test_plugin_theme_auto_updates() {
    17451745        $result = array(
    1746             'label'       => __( 'Plugin and Theme auto-updates appear to be configured correctly' ),
     1746            'label'       => __( 'Plugin and theme auto-updates appear to be configured correctly' ),
    17471747            'status'      => 'good',
    17481748            'badge'       => array(
     
    17521752            'description' => sprintf(
    17531753                '<p>%s</p>',
    1754                 __( 'Plugin and theme auto updates ensure that the latest versions are always installed.' )
     1754                __( 'Plugin and theme auto-updates ensure that the latest versions are always installed.' )
    17551755            ),
    17561756            'actions'     => '',
     
    23642364            return (object) array(
    23652365                'status'  => 'recommended',
    2366                 'message' => __( 'Auto-updates for plugins and themes appear to be disabled. This will prevent your sites from receiving new versions automatically when available.' ),
     2366                'message' => __( 'Auto-updates for plugins and themes appear to be disabled. This will prevent your site from receiving new versions automatically when available.' ),
    23672367            );
    23682368        } elseif ( ! $test_plugins_enabled && $plugin_filter_present ) {
    23692369            return (object) array(
    23702370                'status'  => 'recommended',
    2371                 'message' => __( 'Auto-updates for plugins appear to be disabled. This will prevent your sites from receiving new versions automatically when available.' ),
     2371                'message' => __( 'Auto-updates for plugins appear to be disabled. This will prevent your site from receiving new versions automatically when available.' ),
    23722372            );
    23732373        } elseif ( ! $test_themes_enabled && $theme_filter_present ) {
    23742374            return (object) array(
    23752375                'status'  => 'recommended',
    2376                 'message' => __( 'Auto-updates for themes appear to be disabled. This will prevent your sites from receiving new versions automatically when available.' ),
     2376                'message' => __( 'Auto-updates for themes appear to be disabled. This will prevent your site from receiving new versions automatically when available.' ),
    23772377            );
    23782378        }
     
    23802380        return (object) array(
    23812381            'status'  => 'good',
    2382             'message' => __( 'There appears to be no issues with plugin and theme auto-updates.' ),
     2382            'message' => __( 'There appear to be no issues with plugin and theme auto-updates.' ),
    23832383        );
    23842384    }
Note: See TracChangeset for help on using the changeset viewer.