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

WordPress Trac noreply at wordpress.org
Mon Jan 24 18:29:55 UTC 2022


#54675: Add a filter to disable the login screen language dropdown
-------------------------------------------------+-------------------------
 Reporter:  audrasjb                             |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.9
Component:  Login and Registration               |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch needs-dev-note commit      |     Focuses:
  has-testing-instructions                       |
-------------------------------------------------+-------------------------

Comment (by rickcurran):

 Hi, sorry, not a huge issue but thought it worth highlighting here, I just
 went to apply this to a site running the latest RC4 release to test
 preventing the language dropdown from showing on the login page and it
 wasn't working for me. I then noticed that the filter names were
 subsequently renamed in another code change on 03/01/2022 to
 `login_display_language_dropdown` instead of the original
 `display_login_language_dropdown` that this ticket originally defined it
 as. It wasn't until I double-checked my wp-login.php file of my site that
 I noticed that it had changed.

 Thanks!

 Replying to [comment:10 audrasjb]:
 > In [changeset:"52404" 52404]:
 > {{{
 > #!CommitTicketReference repository="" revision="52404"
 > Login and registration: Add a filter to allow to disable the Login
 screen language dropdown.
 >
 > This change introduces the `display_login_language_dropdown` filter
 which allows to disable the Login screen language dropdown.
 >
 > Follow-up to [52058].
 >
 > Props rickcurran, audrasjb, ocean90, hellofromtonya, costdev,
 johnbillion.
 > Fixes #54675.
 > }}}

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


More information about the wp-trac mailing list