[wp-trac] [WordPress Trac] #47577: Detect HTTPS support and provide guidance
WordPress Trac
noreply at wordpress.org
Wed Dec 23 19:11:36 UTC 2020
#47577: Detect HTTPS support and provide guidance
--------------------------------------+-----------------------------
Reporter: flixos90 | Owner: flixos90
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.7
Component: Security | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses: administration
--------------------------------------+-----------------------------
Changes (by flixos90):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"49904" 49904]:
{{{
#!CommitTicketReference repository="" revision="49904"
Security, Site Health: Detect HTTPS support and encourage switching.
This changeset modifies the Site Health panel for HTTPS to provide more
accurate recommendations based on whether the environment is already set
up for HTTPS.
* Introduces `wp_is_using_https()` to check whether the site is configured
to use HTTPS (via its Site Address and WordPress Address).
* Introduces `wp_is_https_supported()` to check whether the environment
supports HTTPS. This relies on a cron job which periodically checks
support using a loopback request.
Props Clorith, flixos90, miinasikk, westonruter.
Fixes #47577.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47577#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list