[wp-trac] [WordPress Trac] #54675: Add a filter to disable the login screen language dropdown

WordPress Trac noreply at wordpress.org
Tue Dec 21 13:14:10 UTC 2021


#54675: Add a filter to disable the login screen language dropdown
------------------------------------+------------------------------
 Reporter:  audrasjb                |       Owner:  (none)
     Type:  feature request         |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Login and Registration  |     Version:  trunk
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch               |     Focuses:
------------------------------------+------------------------------

Comment (by audrasjb):

 The PR above adds the filter.
 It correctly disable the language switcher, using this hook:
 {{{
 add_filter( 'display_login_language_dropdown', '__return_false' );
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54675#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list