Ticket #8745: wrong_html_type.patch
| File wrong_html_type.patch, 577 bytes (added by zekrap, 3 years ago) |
|---|
-
wp-includes/general-template.php
1597 1597 $attributes[] = "dir=\"$dir\""; 1598 1598 1599 1599 if ( $lang = get_bloginfo('language') ) { 1600 if ( get_option('html_type') == 'text/html' || $doctype == ' xhtml' )1600 if ( get_option('html_type') == 'text/html' || $doctype == 'html' ) 1601 1601 $attributes[] = "lang=\"$lang\""; 1602 1602 1603 1603 if ( get_option('html_type') != 'text/html' || $doctype == 'xhtml' )
