[wp-trac] [WordPress Trac] #9531: language_attributes() defaults to
'html'
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 14 02:51:08 GMT 2009
#9531: language_attributes() defaults to 'html'
-----------------------------+----------------------------------------------
Reporter: CharlesClarkson | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.8
Component: Themes | Version: 2.8
Severity: normal | Keywords: default classic themes header.php
-----------------------------+----------------------------------------------
A lot of theme designers start with the files for Classic or Default
themes when creating their theme files.
The language_attributes() in both themes is used with the default 'html'
value even though the documents specifically have xhtml DOCTYPEs.
I have searched the internet in hopes of correcting this issue, but it all
starts here. language_attributes('xhtml') should be used with xhtml
doctypes.
I have attached a diff file with a patch for Classic and for Default.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9531>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list