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
This commit is contained in:
Sergey Biryukov 2021-04-14 13:02:08 +00:00
parent 793da8732f
commit 0cd72ec474
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 ( ! wp_is_using_https() ) {
// If the website is not using HTTPS, provide more information about whether it is supported and how it can // If the website is not using HTTPS, provide more information about whether it is supported and how it can
// be enabled. // be enabled.
$result['status'] = 'warning'; $result['status'] = 'recommended';
$result['label'] = __( 'Your website does not use HTTPS' ); $result['label'] = __( 'Your website does not use HTTPS' );
if ( wp_is_site_url_using_https() ) { if ( wp_is_site_url_using_https() ) {

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.