Ticket #31319: 31319.3.diff
File 31319.3.diff, 847 bytes (added by , 10 years ago) |
---|
-
wp-includes/l10n.php
896 896 $languages[] = array( 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 902 902 // Remove installed language from available translations. … … 942 942 $structure[] = sprintf( 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'] ) 948 948 );