[wp-trac] [WordPress Trac] #50588: Health Check REST-API error message disrupts leftside linkstructure when htpasswd is in place

WordPress Trac noreply at wordpress.org
Tue Jul 7 09:59:27 UTC 2020


#50588: Health Check REST-API error message disrupts leftside linkstructure when
htpasswd is in place
--------------------------+-----------------------------
 Reporter:  gisselfeldt   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Site Health   |    Version:  5.4.2
 Severity:  minor         |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When having a site behind htpasswd and accessing the Tools > Site Health,
 the entire linkstructure in the leftside menu is disrupted and replaced
 with /error_docs/ instead of /wp-admin/.

 Reference in the code is:

 {{{
 <!DOCTYPE HTML PUBLIC \"-\/\/IETF\/\/DTD HTML
 2.0\/\/EN\">\n<HTML>\n<HEAD>\n<TITLE>401 Authorization
 Required<\/TITLE>\n<BASE href=\"\/error_docs\/\"><!--[if lte IE
 6]><\/BASE>
 }}}

 which is applied to the REST-API-error message in the SiteHealth script.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50588>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list