[wp-trac] [WordPress Trac] #52642: Site Health resets htpasswd authorization on scroll
WordPress Trac
noreply at wordpress.org
Wed Jun 2 00:51:08 UTC 2021
#52642: Site Health resets htpasswd authorization on scroll
--------------------------------------+-----------------------
Reporter: WebDragon | Owner: Clorith
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.8
Component: Site Health | Version: 5.6
Severity: normal | Resolution: fixed
Keywords: good-first-bug has-patch | Focuses: rest-api
--------------------------------------+-----------------------
Changes (by Clorith):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"51057" 51057]:
{{{
#!CommitTicketReference repository="" revision="51057"
Site Health: Conditionally run Authorization header test.
The test to confirm if Authorization headers can be used and recognized by
WordPress needs to include a username and password combination that
WordPress can compare against during the testing phase. The inclusion of
credentials here would unfortunately also invalidate any existing basic
auth session for the site, for example if the user had added this as an
extra layer of security on their back-end.
This test is now skipped if the `wp_is_site_protected_by_basic_auth()`
function detects that basic auth is being used, since the act of using
basic auth to access the site confirms that this feature is working as
expected in the first place.
Props WebDragon, TimothyBlynJacobs, costdev.
Fixes #52642.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52642#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list