Changeset 30340
- Timestamp:
- 11/14/2014 03:23:57 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/l10n.php
r30335 r30340 911 911 912 912 // List installed languages. 913 $structure[] = '<optgroup label="' . esc_attr_x( 'Installed', 'translations' ) . '">'; 913 if ( $args['show_available_translations'] ) { 914 $structure[] = '<optgroup label="' . esc_attr_x( 'Installed', 'translations' ) . '">'; 915 } 914 916 $structure[] = '<option value="" lang="en" data-installed="1">English (United States)</option>'; 915 917 foreach ( $languages as $language ) { … … 922 924 ); 923 925 } 924 $structure[] = '</optgroup>'; 926 if ( $args['show_available_translations'] ) { 927 $structure[] = '</optgroup>'; 928 } 925 929 926 930 // List available translations.
Note: See TracChangeset
for help on using the changeset viewer.