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
This commit is contained in:
Sergey Biryukov 2021-04-14 13:15:05 +00:00
parent bf8239a30c
commit 5162106aa1
2 changed files with 2 additions and 2 deletions

View File

@ -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() ) {

View File

@ -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.