Changeset 42313 for branches/3.7
- Timestamp:
- 11/29/2017 04:49:03 PM (7 years ago)
- Location:
- branches/3.7
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.7
-
branches/3.7/src
- Property svn:mergeinfo changed
/trunk/src merged: 42259
- Property svn:mergeinfo changed
-
branches/3.7/src/wp-includes/general-template.php
r25868 r42313 1928 1928 $attributes[] = 'dir="rtl"'; 1929 1929 1930 if ( $lang = get_bloginfo('language') ) { 1931 if ( get_option('html_type') == 'text/html' || $doctype == 'html' ) 1932 $attributes[] = "lang=\"$lang\""; 1933 1934 if ( get_option('html_type') != 'text/html' || $doctype == 'xhtml' ) 1935 $attributes[] = "xml:lang=\"$lang\""; 1930 if ( $lang = get_bloginfo( 'language' ) ) { 1931 if ( get_option( 'html_type' ) == 'text/html' || $doctype == 'html' ) { 1932 $attributes[] = 'lang="' . esc_attr( $lang ) . '"'; 1933 } 1934 1935 if ( get_option( 'html_type' ) != 'text/html' || $doctype == 'xhtml' ) { 1936 $attributes[] = 'xml:lang="' . esc_attr( $lang ) . '"'; 1937 } 1936 1938 } 1937 1939
Note: See TracChangeset
for help on using the changeset viewer.