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:
parent
bf8239a30c
commit
5162106aa1
|
@ -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() ) {
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue