WordPress.org

Make WordPress Core

Changeset 52435


Ignore:
Timestamp:
01/04/2022 08:28:51 AM (2 weeks ago)
Author:
audrasjb
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-login.php

    r52432 r52435  
    353353                     * @param array $args Arguments for the Languages select input on the login screen.
    354354                     */
    355                     wp_dropdown_languages( apply_filters( 'login_language_switcher_args', $args ) );
     355                    wp_dropdown_languages( apply_filters( 'login_language_dropdown_args', $args ) );
    356356                    ?>
    357357
Note: See TracChangeset for help on using the changeset viewer.