mirror of
git://develop.git.wordpress.org/
synced 2025-04-05 04:33:18 +02:00
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. git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50711 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1556c8ce99
commit
a4da1cae04
@ -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() ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user