From 83b4b89c5a13855b101b91af6d87fa18553b3f7a Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 14 Apr 2021 13:00:52 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@50710 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-site-health.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/class-wp-site-health.php b/src/wp-admin/includes/class-wp-site-health.php index 315db5566f..b614e08068 100644 --- a/src/wp-admin/includes/class-wp-site-health.php +++ b/src/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() ) {