Changeset 42262 for branches/4.8
- Timestamp:
- 11/29/2017 04:04:19 PM (7 years ago)
- Location:
- branches/4.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.8
-
branches/4.8/src/wp-includes/general-template.php
r40837 r42262 716 716 $output = __( 'html_lang_attribute' ); 717 717 if ( 'html_lang_attribute' === $output || preg_match( '/[^a-zA-Z0-9-]/', $output ) ) { 718 $output = get_locale();718 $output = is_admin() ? get_user_locale() : get_locale(); 719 719 $output = str_replace( '_', '-', $output ); 720 720 }
Note: See TracChangeset
for help on using the changeset viewer.