[wp-trac] [WordPress Trac] #25863: Core not working when served as application/xhtml+xml
WordPress Trac
noreply at wordpress.org
Thu Nov 7 15:20:26 UTC 2013
#25863: Core not working when served as application/xhtml+xml
--------------------------+------------------------------
Reporter: pnutus | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Validation | Version: 3.7.1
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by bpetty):
Related (for bundled themes): #14226
Also see: #18202 (HTML5 doctype for core)
It's not deprecated, but it is supposed to be irrelevant to HTML documents
(as far as I understand it). However, I could see how some servers might
interpret this as xhtml+xml since this is how you're supposed to define
[http://dev.w3.org/html5/html-polyglot/html-polyglot.html polyglot markup]
now, which is implied to be XHTML.
Note that #14226 points out that this could affect use of MathML and SVG.
But I generally still agree with @nacin that as a CMS, WordPress shouldn't
even be trying to support XHTML.
I'm fairly certain we should remove it (and will have a patch for it in a
bit), but it should also be possible to prevent your server configuration
from assuming it's XHTML, and serving it as `application/xhtml+xml`
(WordPress is not responsible for this). What is your server running?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25863#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list