Make WordPress Core

Opened 5 weeks ago

Last modified 7 days ago

#48313 new defect (bug)

Administration email verification uses the site locale instead of the user's locale

Reported by: TimothyBlynJacobs Owned by:
Milestone: 5.3.1 Priority: normal
Severity: normal Version: 5.3
Component: Users Keywords:
Focuses: Cc:
PR Number:


Given a site locale of German, and a user locale of English. When you login in the "Administration email verification" screen is partially in German instead of English.

I think this is because get_user_locale only works in the admin, which wp-login.php doesn't count as.

A possible fix might be to pass wp_lang when building the redirect URL?

$redirect_to = add_query_arg( array( 'action' => 'confirm_admin_email', 'wp_lang' => $user->locale ), wp_login_url( $redirect_to ) );

Attachments (1)

48313.patch (670 bytes) - added by sathyapulse 30 hours ago.

Download all attachments as: .zip

Change History (3)

#1 @SergeyBiryukov
5 weeks ago

  • Component changed from General to Users

#2 @SergeyBiryukov
7 days ago

  • Milestone changed from Awaiting Review to 5.3.1

30 hours ago


Note: See TracTickets for help on using tickets.