WordPress.org

Make WordPress Core

Opened 2 weeks ago

Closed 9 days ago

Last modified 9 days ago

#53321 closed defect (bug) (fixed)

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

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

Description

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.


11 days ago

  • Keywords has-patch added; needs-patch removed

Show user locale when visiting the password reset screen

Track ticket: https://core.trac.wordpress.org/ticket/53321

#2 @ocean90
9 days 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
9 days ago

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