Index: wp-includes/general-template.php
===================================================================
--- wp-includes/general-template.php	(révision 10258)
+++ wp-includes/general-template.php	(copie de travail)
@@ -1597,7 +1597,7 @@
 		$attributes[] = "dir=\"$dir\"";
 
 	if ( $lang = get_bloginfo('language') ) {
-		if ( get_option('html_type') == 'text/html' || $doctype == 'xhtml' )
+		if ( get_option('html_type') == 'text/html' || $doctype == 'html' )
 			$attributes[] = "lang=\"$lang\"";
 
 		if ( get_option('html_type') != 'text/html' || $doctype == 'xhtml' )

