From 88e046f1e890f034f95ffb2a199ef3dcba37fc92 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 22 Jul 2020 00:17:04 +0000 Subject: [PATCH] Site Health: Fix some typos in the test for plugin and theme auto-updates. Follow-up to [48548], [48558], [48559]. See #50662. Built from https://develop.svn.wordpress.org/trunk@48560 git-svn-id: http://core.svn.wordpress.org/trunk@48322 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/ajax-actions.php | 1 - wp-admin/includes/class-wp-site-health.php | 12 ++++++------ wp-includes/version.php | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/wp-admin/includes/ajax-actions.php b/wp-admin/includes/ajax-actions.php index fa3dde021d..d47d0c9d15 100644 --- a/wp-admin/includes/ajax-actions.php +++ b/wp-admin/includes/ajax-actions.php @@ -5197,7 +5197,6 @@ function wp_ajax_health_check_background_updates() { wp_send_json_success( $site_health->get_test_background_updates() ); } - /** * Ajax handler for site health checks on loopback requests. * diff --git a/wp-admin/includes/class-wp-site-health.php b/wp-admin/includes/class-wp-site-health.php index 92d37183df..9864eb3212 100644 --- a/wp-admin/includes/class-wp-site-health.php +++ b/wp-admin/includes/class-wp-site-health.php @@ -1743,7 +1743,7 @@ class WP_Site_Health { */ public function get_test_plugin_theme_auto_updates() { $result = array( - 'label' => __( 'Plugin and Theme auto-updates appear to be configured correctly' ), + 'label' => __( 'Plugin and theme auto-updates appear to be configured correctly' ), 'status' => 'good', 'badge' => array( 'label' => __( 'Security' ), @@ -1751,7 +1751,7 @@ class WP_Site_Health { ), 'description' => sprintf( '

%s

', - __( 'Plugin and theme auto updates ensure that the latest versions are always installed.' ) + __( 'Plugin and theme auto-updates ensure that the latest versions are always installed.' ) ), 'actions' => '', 'test' => 'plugin_theme_auto_updates', @@ -2363,23 +2363,23 @@ class WP_Site_Health { ) { return (object) array( 'status' => 'recommended', - 'message' => __( 'Auto-updates for plugins and themes appear to be disabled. This will prevent your sites from receiving new versions automatically when available.' ), + 'message' => __( 'Auto-updates for plugins and themes appear to be disabled. This will prevent your site from receiving new versions automatically when available.' ), ); } elseif ( ! $test_plugins_enabled && $plugin_filter_present ) { return (object) array( 'status' => 'recommended', - 'message' => __( 'Auto-updates for plugins appear to be disabled. This will prevent your sites from receiving new versions automatically when available.' ), + 'message' => __( 'Auto-updates for plugins appear to be disabled. This will prevent your site from receiving new versions automatically when available.' ), ); } elseif ( ! $test_themes_enabled && $theme_filter_present ) { return (object) array( 'status' => 'recommended', - 'message' => __( 'Auto-updates for themes appear to be disabled. This will prevent your sites from receiving new versions automatically when available.' ), + 'message' => __( 'Auto-updates for themes appear to be disabled. This will prevent your site from receiving new versions automatically when available.' ), ); } return (object) array( 'status' => 'good', - 'message' => __( 'There appears to be no issues with plugin and theme auto-updates.' ), + 'message' => __( 'There appear to be no issues with plugin and theme auto-updates.' ), ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index f1955da75d..76a6405b68 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-beta3-48559'; +$wp_version = '5.5-beta3-48560'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.