[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
Thu Nov 11 09:51:17 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.9
Component:  Login and Registration  |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch               |     Focuses:  accessibility
------------------------------------+----------------------------

Comment (by sabernhardt):

 This may be fixed after adding the language switcher in #43700. The query
 string does not keep `wp_lang`, though the language did not change for me.

 Steps I followed:
 1. Verify site language: English (US), with French and others installed.
 2. Visit `/wp-login.php?action=lostpassword&wp_lang=fr_FR` in a browser
 where I'm not already logged in (Edge 95 / Windows 10).
 3. Enter `fake at name.com` as the email address.
 4. The error still redirected to `/wp-login.php?action=lostpassword`, but
 the content stayed in French.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53226#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list