Changeset 52405
- Timestamp:
- 12/21/2021 06:58:57 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-login.php
r52404 r52405 330 330 <div class="language-switcher"> 331 331 <form id="language-switcher" action="" method="get"> 332 332 333 333 <label for="language-switcher-locales"> 334 334 <span class="dashicons dashicons-translation" aria-hidden="true"></span> 335 335 <span class="screen-reader-text"><?php _e( 'Language' ); ?></span> 336 336 </label> 337 337 338 338 <?php 339 339 $args = array( … … 345 345 'languages' => $languages, 346 346 ); 347 347 348 348 /** 349 349 * Filters default arguments for the Languages select input on the login screen. … … 355 355 wp_dropdown_languages( apply_filters( 'wp_login_language_switcher_args', $args ) ); 356 356 ?> 357 357 358 358 <?php if ( $interim_login ) { ?> 359 359 <input type="hidden" name="interim-login" value="1" /> 360 360 <?php } ?> 361 361 362 362 <?php if ( isset( $_GET['redirect_to'] ) && '' !== $_GET['redirect_to'] ) { ?> 363 363 <input type="hidden" name="redirect_to" value="<?php echo esc_url_raw( $_GET['redirect_to'] ); ?>" /> 364 364 <?php } ?> 365 365 366 366 <?php if ( isset( $_GET['action'] ) && '' !== $_GET['action'] ) { ?> 367 367 <input type="hidden" name="action" value="<?php echo esc_attr( $_GET['action'] ); ?>" /> 368 368 <?php } ?> 369 369 370 370 <input type="submit" class="button button-primary" value="<?php esc_attr_e( 'Change' ); ?>"> 371 371 372 372 </form> 373 373 </div>
Note: See TracChangeset
for help on using the changeset viewer.