Opened 6 years ago
Closed 6 years ago
#50588 closed defect (bug) (fixed)
Health Check REST-API error message disrupts leftside linkstructure when htpasswd is in place
| Reported by: | gisselfeldt | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.5 |
| Component: | Site Health | Version: | 5.4.2 |
| Severity: | minor | Keywords: | |
| Cc: | Focuses: |
Description
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.
Attachments (1)
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
A simple 1-line fix.