[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
Wed Jun 2 16:16:32 UTC 2021
#53226: Password reset screen: `wp_lang` GET parameter is lost when a wrong email
address is provided
------------------------------------+----------------------------
Reporter: audrasjb | Owner: joedolson
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 5.8
Component: Login and Registration | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: accessibility
------------------------------------+----------------------------
Changes (by ocean90):
* keywords: has-patch needs-testing => needs-patch
Comment:
It seems like core doesn't provide any lostpassword links with the
`wp_lang` parameter by default?
Since we only want to add the `wp_lang` parameter and not all possible
parameters, [attachment:"53226.2.diff"] should be sufficient in this case.
But I think this is actually a bigger issue since non of the current links
in wp-login.php pass a possible `wp_lang` parameter to the next screen.
For example on the lostpassword screen we also have the login and a
registration link. Those should probably also use the same locale?
And with #53321 we also want to make sure that the redirections in case of
an expired/invalid key will also use the same locale.
Wondering if a cookie for the locale which is only used on wp-login.php
could simplify this a bit.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53226#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list