#7 closed defect (bug) (fixed)
WP Admin crashes in XML mode
| Reported by: | Anne | Owned by: | JasonV |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | |
| Severity: | critical | Keywords: | has-patch |
| Cc: | Focuses: |
Description
Send the correct HTTP header for the admin ( header("content-type:application/xhtml+xml"); ) and see what happens.
Change History (11)
#5
@
22 years ago
Ok, I've updated most of the admin files to fix all the problems I could find. Everything I tested now comes up fine when served with application/xhtml+xml, but I may have missed some things, so further testing would be appreciated.
#8
@
22 years ago
- Resolution 10 → 20
- Status assigned → closed
Anne: Thanks... hopefully there won't be any problems, but I'm sure a couple got by me.
I made one more change, and I'm setting this to resolved. Any further XHTML/XML problems can be opened as bugs for the particular admin files they occur in.
#9
@
22 years ago
No problems thus far so I'm closing this one. Like I said, any problems that arise can be opened as their own bug.
This ticket was mentioned in PR #12370 on WordPress/wordpress-develop by @jorbin.
2 weeks ago
#10
- Keywords has-patch added
Fix https://github.com/WordPress/wordpress-develop/actions/runs/28473169099
AI: Consulted with ChatGPT about the error, I wrote the code.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Let me try that again: http://annevankesteren.nl/projects/wordpress/evil/wp-admin/
Although I have reported it as a crashing bug, it is probably just 'minor', since most users won't bother. I don't really care myself either, since everything works fine at the moment (except for that admini), but this was just a reminder to make the claim, valid XHTML, true.
Some people argue it isn't the (only) correct HTTP header for XHTML; fine with me, but this is easier to debug and 'text/html' doesn't make it validate either.