From 937398741b59777b32434c26c19e6333c114655c Mon Sep 17 00:00:00 2001 From: audrasjb Date: Tue, 4 Jan 2022 08:30:04 +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. Built from https://develop.svn.wordpress.org/trunk@52435 git-svn-id: http://core.svn.wordpress.org/trunk@52027 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- wp-login.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index 33b0146b79..d52271633d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @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. diff --git a/wp-login.php b/wp-login.php index 05c8b0f04e..d05df01692 100644 --- a/wp-login.php +++ b/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 ) ); ?>