[wp-trac] [WordPress Trac] #52642: Site Health resets htpasswd authorization on scroll
WordPress Trac
noreply at wordpress.org
Fri May 7 19:57:06 UTC 2021
#52642: Site Health resets htpasswd authorization on scroll
----------------------------------------+-----------------------
Reporter: WebDragon | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.8
Component: Site Health | Version: 5.6
Severity: normal | Resolution:
Keywords: needs-patch good-first-bug | Focuses: rest-api
----------------------------------------+-----------------------
Comment (by Clorith):
Having looked at how the test is set up, I actually will re-evaluate my
previous suggestion, since the test sets headers to run at all, this will
lead to more confusing logic than just outright skipping that test if not
applicable.
With that knowledge in hand, we should instead do the same as with the
REST API availability check, and only conditionally add it if
`wp_is_site_protected_by_basic_auth` returns `false`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52642#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list