Changeset 4217
- Timestamp:
- 09/24/2006 07:29:32 PM (19 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
wp-admin/admin-header.php (modified) (1 diff)
-
wp-includes/general-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-header.php
r4194 r4217 14 14 ?> 15 15 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 16 <html xmlns="http://www.w3.org/1999/xhtml" >16 <html xmlns="http://www.w3.org/1999/xhtml" dir="<?php bloginfo('text_direction'); ?>" lang="<?php bloginfo('language'); ?>" xml:lang="<?php bloginfo('language'); ?>"> 17 17 <head> 18 18 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" /> -
trunk/wp-includes/general-template.php
r4210 r4217 127 127 global $wp_version; 128 128 $output = $wp_version; 129 break; 130 case 'language': 131 $output = get_locale(); 132 if ( empty($output) ) 133 $output = 'en-US'; 134 $output = str_replace('_', '-', $output); 135 break; 136 case 'text_direction': 137 global $wp_locale; 138 $output = $wp_locale->text_direction; 139 if ( empty($output) ) 140 $output = 'ltr'; 129 141 break; 130 142 case 'name':
Note: See TracChangeset
for help on using the changeset viewer.