[wp-trac] [WordPress Trac] #44550: The confirmaction page should also be in the user language
WordPress Trac
noreply at wordpress.org
Wed Aug 15 16:22:24 UTC 2018
#44550: The confirmaction page should also be in the user language
-------------------------------------------------+-------------------------
Reporter: birgire | Owner: desrosj
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.9.9
Component: Privacy | Version: 4.9.6
Severity: normal | Resolution:
Keywords: has-screenshots needs-testing has- | Focuses:
patch | administration
-------------------------------------------------+-------------------------
Changes (by desrosj):
* keywords: has-screenshots needs-testing has-patch needs-unit-tests =>
has-screenshots needs-testing has-patch
Comment:
[attachment:"44550.3.diff"] adds unit tests and adds consideration for
when the user has specifically chosen a locale and always adds the
`wp_lang` URL parameter in that scenario (even if it is the same as the
site's locale). This ensures that if a user selects a preferred language,
it will persist on the confirmation page even if the site's locale
changes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44550#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list