From 5162106aa1ce6eaffab0dc8c6838769421989537 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 14 Apr 2021 13:15:05 +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. Merges [50710] to the 5.7 branch. Fixes #52783. Built from https://develop.svn.wordpress.org/branches/5.7@50711 git-svn-id: http://core.svn.wordpress.org/branches/5.7@50320 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 d3d0bb4410..1422d2c18c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.7.1-RC1-50709'; +$wp_version = '5.7.1-RC1-50711'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.