[wp-trac] [WordPress Trac] #54761: Save the prefered language from login page (since WP5.9)
WordPress Trac
noreply at wordpress.org
Sat Jan 8 19:15:40 UTC 2022
#54761: Save the prefered language from login page (since WP5.9)
-------------------------------------+-----------------------------
Reporter: sebastienserre | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.0
Component: Login and Registration | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch 2nd-opinion | Focuses: administration
-------------------------------------+-----------------------------
Changes (by costdev):
* milestone: Awaiting Review => 6.0
Comment:
> We'll just change the user profile if the language stored in the meta is
different from the language selected on the login page.
If you mean the `usermeta`, this won't address @swissspidy's point. See
[https://3v4l.org/K3dkQ these results].
Instead, we would need to change the user profile if the **site's
language** is different from the language selected on the login page. See
[https://3v4l.org/1HVOn these results].
Note: With this implementation, if a user wants to switch back to the
site's language, they would need to make the change in their profile.
----
In general, matching a user's stated preference to their usermeta makes
sense to me.
Milestoning for `6.0` and adding `needs-unit-tests` to prevent regressions
once this has been implemented.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54761#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list