Changeset 52060 for trunk/src/wp-login.php
- Timestamp:
- 11/08/2021 11:02:40 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-login.php
r52058 r52060 315 315 $languages = get_available_languages(); 316 316 317 if ( ! empty( $languages ) && ! $interim_login ) { ?> 317 if ( ! empty( $languages ) && ! $interim_login ) { 318 ?> 318 319 319 320 <div class="language-switcher"> … … 326 327 327 328 <?php 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 329 $args = array( 330 'id' => 'language-switcher-locales', 331 'name' => 'wp_lang', 332 'selected' => determine_locale(), 333 'show_available_translations' => false, 334 'explicit_option_en_us' => true, 335 'languages' => $languages, 336 ); 337 338 /** 339 * Filters default arguments for the Languages select input on the login screen. 340 * 341 * @since 5.9.0 342 * 343 * @param array $args Arguments for the Languages select input on the login screen. 344 */ 345 wp_dropdown_languages( apply_filters( 'wp_login_language_switcher_args', $args ) ); 345 346 ?> 346 347
Note: See TracChangeset
for help on using the changeset viewer.