From 4581fbea5ad06079664de4ac84e6104ef5005439 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Tue, 4 Jan 2022 08:28:51 +0000 Subject: [PATCH] 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 --- src/wp-login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-login.php b/src/wp-login.php index 05c8b0f04e..d05df01692 100644 --- a/src/wp-login.php +++ b/src/wp-login.php @@ -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 ) ); ?>