[wp-trac] [WordPress Trac] #52642: Site Health resets htpasswd authorization on scroll

WordPress Trac noreply at wordpress.org
Thu Jun 3 04:03:11 UTC 2021


#52642: Site Health resets htpasswd authorization on scroll
--------------------------------------+-----------------------
 Reporter:  WebDragon                 |       Owner:  Clorith
     Type:  defect (bug)              |      Status:  reopened
 Priority:  normal                    |   Milestone:  5.8
Component:  Site Health               |     Version:  5.6
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:  rest-api
--------------------------------------+-----------------------

Comment (by Clorith):

 You're quire right @SergeyBiryukov, the `rest_url` check is a remnant of
 the Health Check plugin (which did not have REST endpoints back then) I
 believe, so contextually in that regard it made sense to have the same
 check around the `wp_is_site_protected_by_basic_auth`.

 We should be able to safely just remove both those `function_exists()`
 checks here, as you mentioned.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52642#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list