Make WordPress Core

Opened 4 years ago

Last modified 24 hours ago

#36439 reopened defect (bug)

Wrong language when resetting password

Reported by: vasikgreif Owned by:
Milestone: 5.6 Priority: normal
Severity: normal Version:
Component: Login and Registration Keywords: needs-patch
Focuses: multisite Cc:


When using WPML (or other multilanguage plugin) along with multisite, the reset password email comes in wrong language, as the reset password form is sent to network_site_url() instead of site_url(). I think a proper way should be:

<form name="lostpasswordform" id="lostpasswordform" action="<?php echo esc_url( site_url( 'wp-login.php?action=lostpassword', 'login_post' ) ); ?>" method="post">

Change History (4)

#1 @ocean90
4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hello @vasikgreif, welcome to our Trac!

Thanks for your report, we're already tracking this issue in #21352.

#2 @johnbillion
2 months ago

  • Keywords needs-patch added
  • Milestone set to 5.5
  • Resolution duplicate deleted
  • Status changed from closed to reopened
  • Version 4.4.2 deleted

I think this issue can be addressed separately from #21352, which is focused on the URL used for the password reset, and keep this ticket focused on the language used in the email.

I believe this can be fixed along with the work on #43700 which enables users to switch language on the login screens.

This ticket was mentioned in Slack in #core by david.baumwald. View the logs.

24 hours ago

#4 @johnbillion
24 hours ago

  • Milestone changed from 5.5 to 5.6
Note: See TracTickets for help on using tickets.