Make WordPress Core

Changeset 10266


Ignore:
Timestamp:
12/30/2008 06:35:45 PM (16 years ago)
Author:
ryan
Message:

Fix html doctype check. Props zekrap. fixes #8745 for 2.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7/wp-includes/general-template.php

    r10150 r10266  
    15931593
    15941594    if ( $lang = get_bloginfo('language') ) {
    1595         if ( get_option('html_type') == 'text/html' || $doctype == 'xhtml' )
     1595        if ( get_option('html_type') == 'text/html' || $doctype == 'html' )
    15961596            $attributes[] = "lang=\"$lang\"";
    15971597
Note: See TracChangeset for help on using the changeset viewer.