Changeset 31447
- Timestamp:
- 02/13/2015 11:22:38 AM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/translation-install.php
r31074 r31447 142 142 printf( '<option value="%s" lang="%s" data-continue="%s"%s>%s</option>' . "\n", 143 143 esc_attr( $language['language'] ), 144 esc_attr( $language['iso'][1]),144 esc_attr( current( $language['iso'] ) ), 145 145 esc_attr( $language['strings']['continue'] ), 146 146 in_array( $language['language'], $installed_languages ) ? ' data-installed="1"' : '', … … 154 154 printf( '<option value="%s" lang="%s" data-continue="%s"%s>%s</option>' . "\n", 155 155 esc_attr( $language['language'] ), 156 esc_attr( $language['iso'][1]),156 esc_attr( current( $language['iso'] ) ), 157 157 esc_attr( $language['strings']['continue'] ), 158 158 in_array( $language['language'], $installed_languages ) ? ' data-installed="1"' : '', -
trunk/src/wp-includes/l10n.php
r31090 r31447 897 897 'language' => $translation['language'], 898 898 'native_name' => $translation['native_name'], 899 'lang' => $translation['iso'][1],899 'lang' => current( $translation['iso'] ), 900 900 ); 901 901 … … 943 943 '<option value="%s" lang="%s"%s>%s</option>', 944 944 esc_attr( $translation['language'] ), 945 esc_attr( $translation['iso'][1]),945 esc_attr( current( $translation['iso'] ) ), 946 946 selected( $translation['language'], $args['selected'], false ), 947 947 esc_html( $translation['native_name'] )
Note: See TracChangeset
for help on using the changeset viewer.