From 0cd72ec4746d18387ceb062b8e864e389f05ac6c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 14 Apr 2021 13:02:08 +0000 Subject: [PATCH] Site Health: Correct test result status for the HTTPS test. The supported status values for Site Health tests are `good`, `recommended`, and `critical`. Follow-up to [50660]. Props TimothyBlynJacobs. Fixes #52783. Built from https://develop.svn.wordpress.org/trunk@50710 git-svn-id: http://core.svn.wordpress.org/trunk@50319 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-site-health.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/class-wp-site-health.php b/wp-admin/includes/class-wp-site-health.php index 315db5566f..b614e08068 100644 --- a/wp-admin/includes/class-wp-site-health.php +++ b/wp-admin/includes/class-wp-site-health.php @@ -1528,7 +1528,7 @@ class WP_Site_Health { if ( ! wp_is_using_https() ) { // If the website is not using HTTPS, provide more information about whether it is supported and how it can // be enabled. - $result['status'] = 'warning'; + $result['status'] = 'recommended'; $result['label'] = __( 'Your website does not use HTTPS' ); if ( wp_is_site_url_using_https() ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 1a7381d0de..e95feac283 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-alpha-50708'; +$wp_version = '5.8-alpha-50710'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.