[wp-trac] [WordPress Trac] #53226: Password reset screen: `wp_lang` GET parameter is lost when a wrong email address is provided
WordPress Trac
noreply at wordpress.org
Tue May 18 11:13:57 UTC 2021
#53226: Password reset screen: `wp_lang` GET parameter is lost when a wrong email
address is provided
------------------------------------+-------------------------
Reporter: audrasjb | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.8
Component: Login and Registration | Version:
Severity: normal | Keywords: needs-patch
Focuses: accessibility |
------------------------------------+-------------------------
Step to reproduce:
- Install 2 or more language packages on the website, let's say `fr_FR`
for example 🍷 but keep `en_US` as the default locale
- go to `/wp-admin?action=lostpassword&wp_lang=fr_FR`
- enter a wrong email address
- you'll be redirected to `/wp-admin?action=lostpassword` instead of `/wp-
admin?action=lostpassword&wp_lang=fr_FR`
We should keep the value of the `wp_lang` parameter.
Please note that this is an accessibility issue, because language changes
must be announced before they happen 🙂
Please don't forget to give proper props to @byohann6 who spotted the
issue in the French Slack team 🌟
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53226>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list