[wp-trac] Re: [WordPress Trac] #9976: The lang attribute missing
WordPress Trac
wp-trac at lists.automattic.com
Fri May 29 21:28:15 GMT 2009
#9976: The lang attribute missing
--------------------------+-------------------------------------------------
Reporter: redgecko | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: Template | Version: 2.7.1
Severity: major | Keywords: has-patch
--------------------------+-------------------------------------------------
Comment(by redgecko):
I know those tickets.
However I think there were insufficient.
Although WordPress declares 'XHTML 1.0 Transitional' at the DOCTYPE
declaration, it doesn't follow W3C Recommendation.
My attached patch changes the default output from 'html' into 'xhtml' in
'language_attributes()' function.
With this slight patch, you can enhance the compatibility with the
recommendation.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9976#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list