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.


git-svn-id: https://develop.svn.wordpress.org/trunk@52435 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras 2022-01-04 08:28:51 +00:00
parent bd08b22127
commit 4581fbea5a

View File

@ -352,7 +352,7 @@ function login_footer( $input_id = '' ) {
*
* @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 ) { ?>