From 474f57e0fa75f12c4a43226515ff73df0a18be73 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 2 Apr 2019 10:08:56 +0000 Subject: [PATCH] Site Health: Add missing i18n for Security and Performance badge labels. Props iworks. Fixes #46755. See #46683. Built from https://develop.svn.wordpress.org/trunk@45095 git-svn-id: http://core.svn.wordpress.org/trunk@44904 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-site-health.php | 32 +++++++++++----------- wp-includes/version.php | 2 +- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/wp-admin/includes/class-wp-site-health.php b/wp-admin/includes/class-wp-site-health.php index bebeffbd0c..56fa797c1a 100644 --- a/wp-admin/includes/class-wp-site-health.php +++ b/wp-admin/includes/class-wp-site-health.php @@ -182,7 +182,7 @@ class WP_Site_Health { 'label' => '', 'status' => '', 'badge' => array( - 'label' => 'Security', + 'label' => __( 'Security' ), 'color' => 'red', ), 'description' => '', @@ -281,7 +281,7 @@ class WP_Site_Health { 'label' => __( 'Your plugins are up to date' ), 'status' => 'good', 'badge' => array( - 'label' => 'Security', + 'label' => __( 'Security' ), 'color' => 'red', ), 'description' => sprintf( @@ -395,7 +395,7 @@ class WP_Site_Health { 'label' => __( 'Your themes are up to date' ), 'status' => 'good', 'badge' => array( - 'label' => 'Security', + 'label' => __( 'Security' ), 'color' => 'red', ), 'description' => sprintf( @@ -614,7 +614,7 @@ class WP_Site_Health { ), 'status' => 'good', 'badge' => array( - 'label' => 'Security', + 'label' => __( 'Security' ), 'color' => 'red', ), 'description' => sprintf( @@ -702,7 +702,7 @@ class WP_Site_Health { 'label' => __( 'Required and recommended modules are installed' ), 'status' => 'good', 'badge' => array( - 'label' => 'Performance', + 'label' => __( 'Performance' ), 'color' => 'orange', ), 'description' => sprintf( @@ -901,7 +901,7 @@ class WP_Site_Health { 'label' => __( 'SQL server is up to date' ), 'status' => 'good', 'badge' => array( - 'label' => 'Security', + 'label' => __( 'Security' ), 'color' => 'red', ), 'description' => sprintf( @@ -979,7 +979,7 @@ class WP_Site_Health { 'label' => __( 'UTF8MB4 is supported' ), 'status' => 'good', 'badge' => array( - 'label' => 'Performance', + 'label' => __( 'Performance' ), 'color' => 'orange', ), 'description' => sprintf( @@ -1094,7 +1094,7 @@ class WP_Site_Health { 'label' => __( 'Can communicate with WordPress.org' ), 'status' => '', 'badge' => array( - 'label' => 'Security', + 'label' => __( 'Security' ), 'color' => 'red', ), 'description' => sprintf( @@ -1154,7 +1154,7 @@ class WP_Site_Health { 'label' => __( 'Your site is not set to output debug information' ), 'status' => 'good', 'badge' => array( - 'label' => 'Security', + 'label' => __( 'Security' ), 'color' => 'red', ), 'description' => sprintf( @@ -1207,7 +1207,7 @@ class WP_Site_Health { 'label' => __( 'Your website is using an active HTTPS connection.' ), 'status' => 'good', 'badge' => array( - 'label' => 'Security', + 'label' => __( 'Security' ), 'color' => 'red', ), 'description' => sprintf( @@ -1270,7 +1270,7 @@ class WP_Site_Health { 'label' => '', 'status' => '', 'badge' => array( - 'label' => 'Security', + 'label' => __( 'Security' ), 'color' => 'red', ), 'description' => sprintf( @@ -1316,7 +1316,7 @@ class WP_Site_Health { 'label' => __( 'Scheduled events are running' ), 'status' => 'good', 'badge' => array( - 'label' => 'Performance', + 'label' => __( 'Performance' ), 'color' => 'orange', ), 'description' => sprintf( @@ -1377,7 +1377,7 @@ class WP_Site_Health { 'label' => __( 'Background updates are working' ), 'status' => 'good', 'badge' => array( - 'label' => 'Security', + 'label' => __( 'Security' ), 'color' => 'red', ), 'description' => sprintf( @@ -1453,7 +1453,7 @@ class WP_Site_Health { 'label' => __( 'Your site can perform loopback requests' ), 'status' => 'good', 'badge' => array( - 'label' => 'Performance', + 'label' => __( 'Performance' ), 'color' => 'orange', ), 'description' => sprintf( @@ -1495,7 +1495,7 @@ class WP_Site_Health { 'label' => __( 'HTTP requests seem to be working as expected' ), 'status' => 'good', 'badge' => array( - 'label' => 'Performance', + 'label' => __( 'Performance' ), 'color' => 'orange', ), 'description' => sprintf( @@ -1561,7 +1561,7 @@ class WP_Site_Health { 'label' => __( 'The REST API is available' ), 'status' => 'good', 'badge' => array( - 'label' => 'Performance', + 'label' => __( 'Performance' ), 'color' => 'orange', ), 'description' => sprintf( diff --git a/wp-includes/version.php b/wp-includes/version.php index 47e3213a4b..b705325707 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2-beta1-45094'; +$wp_version = '5.2-beta1-45095'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.