Opened 10 years ago
Last modified 5 years ago
#36439 reviewing defect (bug)
Wrong language when resetting password
| Reported by: | vasikgreif | Owned by: | johnbillion |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Login and Registration | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | multisite |
Description
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">
Attachments (1)
Change History (12)
#2
@
6 years ago
- Keywords needs-patch added
- Milestone → 5.5
- Resolution duplicate
- Status closed → reopened
- Version 4.4.2
This ticket was mentioned in Slack in #core by david.baumwald. View the logs.
6 years ago
This ticket was mentioned in PR #517 on WordPress/wordpress-develop by adriantirusli.
6 years ago
#5
- Keywords has-patch added; needs-patch removed
In this update I changed the login URL to fix reset password email comes in wrong language.
Trac ticket: #36439
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hello @vasikgreif, welcome to our Trac!
Thanks for your report, we're already tracking this issue in #21352.