Login and registration: Rename `login_language_switcher_args` to `login_language_dropdown_args`.

This change adds better consistency with the other `*_dropdown_args` filters, like `taxonomy_parent_dropdown_args` or `widget_archives_dropdown_args`. It is also more consistent with the new `login_display_language_dropdown` filter.

Props SergeyBiryukov, faisal03.
Fixes #54696.

Built from https://develop.svn.wordpress.org/trunk@52435


git-svn-id: http://core.svn.wordpress.org/trunk@52027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-01-04 08:30:04 +00:00
parent 28a12c8bce
commit 937398741b
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.9-beta4-52434'; $wp_version = '5.9-beta4-52435';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

View File

@ -352,7 +352,7 @@ function login_footer( $input_id = '' ) {
* *
* @param array $args Arguments for the Languages select input on the login screen. * @param array $args Arguments for the Languages select input on the login screen.
*/ */
wp_dropdown_languages( apply_filters( 'login_language_switcher_args', $args ) ); wp_dropdown_languages( apply_filters( 'login_language_dropdown_args', $args ) );
?> ?>
<?php if ( $interim_login ) { ?> <?php if ( $interim_login ) { ?>