language_attributes() defaults to 'html'
|Reported by:||CharlesClarkson||Owned by:|
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.