Changeset 42220
- Timestamp:
- 11/23/2017 07:03:44 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r42201 r42220 704 704 $output = __( 'html_lang_attribute' ); 705 705 if ( 'html_lang_attribute' === $output || preg_match( '/[^a-zA-Z0-9-]/', $output ) ) { 706 $output = get_locale();706 $output = is_admin() ? get_user_locale() : get_locale(); 707 707 $output = str_replace( '_', '-', $output ); 708 708 }
Note: See TracChangeset
for help on using the changeset viewer.