diff --git a/wp-admin/includes/class-wp-site-health.php b/wp-admin/includes/class-wp-site-health.php index 2832803073..85420f4b8d 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' => __( 'Performance' ), 'color' => 'red', ), 'description' => '', @@ -242,8 +242,9 @@ class WP_Site_Health { ); } else { // This is a minor version, sometimes considered more critical. - $result['status'] = 'critical'; - $result['description'] = sprintf( + $result['status'] = 'critical'; + $result['badge']['label'] = __( 'Security' ); + $result['description'] = sprintf( '
%s
', __( 'A new minor update is available for your site. Because minor updates often address security, it’s important to install them.' ) ); @@ -621,7 +622,7 @@ class WP_Site_Health { ), 'status' => 'good', 'badge' => array( - 'label' => __( 'Security' ), + 'label' => __( 'Performance' ), 'color' => 'red', ), 'description' => sprintf( @@ -651,7 +652,7 @@ class WP_Site_Health { return $result; } - // The PHP version is only recieving security fixes. + // The PHP version is only receiving security fixes. if ( $response['is_secure'] ) { $result['label'] = __( 'Your PHP version should be updated' ); $result['status'] = 'recommended'; @@ -660,8 +661,9 @@ class WP_Site_Health { } // Anything no longer secure must be updated. - $result['label'] = __( 'Your PHP version requires an update' ); - $result['status'] = 'critical'; + $result['label'] = __( 'Your PHP version requires an update' ); + $result['status'] = 'critical'; + $result['badge']['label'] = __( 'Security' ); return $result; } @@ -905,7 +907,7 @@ class WP_Site_Health { 'label' => __( 'SQL server is up to date' ), 'status' => 'good', 'badge' => array( - 'label' => __( 'Security' ), + 'label' => __( 'Performance' ), 'color' => 'red', ), 'description' => sprintf( @@ -937,7 +939,8 @@ class WP_Site_Health { if ( ! $this->mysql_min_version_check ) { $result['status'] = 'critical'; - $result['label'] = __( 'Severely outdated SQL server' ); + $result['label'] = __( 'Severely outdated SQL server' ); + $result['badge']['label'] = __( 'Security' ); $result['description'] .= sprintf( '%s
', diff --git a/wp-includes/version.php b/wp-includes/version.php index 26058c1e66..838a5a34ae 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2-beta1-45120'; +$wp_version = '5.2-beta1-45121'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.