Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#17363 closed defect (bug) (duplicate)

Add XHTML namespace declaration to Twenty Eleven to provide XHTML compatibility

Reported by: peaceablewhale Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.2
Component: Themes Keywords: has-patch
Focuses: Cc:


The HTML5 Spec allows the html element having a xmlns attribute with value "http://www.w3.org/1999/xhtml" This provides XHTML compatibility to HTML5.

Attachments (1)

17363.patch (569 bytes) - added by peaceablewhale 4 years ago.

Download all attachments as: .zip

Change History (7)

@peaceablewhale4 years ago

comment:1 @Otto424 years ago

The xmlns attribute is deprecated and no longer necessary in HTML 5.


comment:2 @peaceablewhale4 years ago

The XML namespace declaration is required if the blog is served as application/xhtml+xml. http://www.w3.org/TR/html-polyglot/ provides guidelines for making webpage compatible with both HTML (text/html) and XHTML (application/xhtml+xml).

comment:3 @holizz4 years ago

  • Cc tom@… added

comment:4 @ocean904 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Version 0, edited 4 years ago by ocean90 (next)

comment:5 @peaceablewhale4 years ago

  • Resolution duplicate deleted
  • Status changed from closed to reopened

Not a duplicate. That one is for Twenty Ten.

comment:6 @peaceablewhale4 years ago

  • Resolution set to duplicate
  • Status changed from reopened to closed

Oops, you have merged this ticket to #14226. Closing this again.

Note: See TracTickets for help on using tickets.