[wp-trac] [WordPress Trac] #52642: Site Health resets htpasswd authorization on scroll
WordPress Trac
noreply at wordpress.org
Thu Jun 3 11:13:27 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 SergeyBiryukov):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"51066" 51066]:
{{{
#!CommitTicketReference repository="" revision="51066"
Site Health: Remove unnecessary `function_exists()` checks from
`WP_Site_Health::get_tests()`.
By the time the tests run, both `wp_is_site_protected_by_basic_auth()` and
`rest_url()` functions are available, so there is no need to check for
their existence.
Follow-up to [44986], [51057].
Props Clorith, costdev, SergeyBiryukov.
Fixes #52642.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52642#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list