Ticket #29362: 29362.patch
File 29362.patch, 709 bytes (added by , 10 years ago) |
---|
-
options-general.php
327 327 <th width="33%" scope="row"><label for="WPLANG"><?php _e( 'Site Language' ); ?></label></th> 328 328 <td> 329 329 <?php 330 $l ocale = get_locale();331 if ( ! in_array( $l ocale, $languages ) ) {332 $l ocale= '';330 $lang = get_option( 'WPLANG' ); 331 if ( ! in_array( $lang, $languages ) ) { 332 $lang = ''; 333 333 } 334 334 335 335 wp_dropdown_languages( array( 336 336 'name' => 'WPLANG', 337 337 'id' => 'WPLANG', 338 'selected' => $l ocale,338 'selected' => $lang, 339 339 'languages' => $languages, 340 340 ) ); 341 341