Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#53321 closed defect (bug) (fixed)

Reset password email should include user's locale in reset link

Reported by: ocean90's profile ocean90 Owned by: ocean90's profile ocean90
Milestone: 5.8 Priority: normal
Severity: normal Version: 5.7
Component: Users Keywords: good-first-bug has-patch
Focuses: Cc:


Related: #52605

While the email is sent in the correct language, the link to wp-login.php doesn't contain any locale information thus the password reset screen will use the site's default locale.
retrieve_password() needs to be updated to add the wp_lang parameter to the reset link.

Change History (4)

This ticket was mentioned in PR #1334 on WordPress/wordpress-develop by walbo.

3 years ago

  • Keywords has-patch added; needs-patch removed

Show user locale when visiting the password reset screen

Track ticket:

#2 @ocean90
3 years ago

  • Owner set to ocean90
  • Resolution set to fixed
  • Status changed from new to closed

In 51077:

Users: Add user’s locale to password reset link to ensure login screen matches the language of the email.

Props walbo.
See #34281, #52605.
Fixes #53321.

#3 @ocean90
3 years ago

  • Milestone changed from Future Release to 5.8
Note: See TracTickets for help on using tickets.