[wp-trac] [WordPress Trac] #26511: Introduce a locale-switching function
WordPress Trac
noreply at wordpress.org
Wed Oct 26 11:02:24 UTC 2016
#26511: Introduce a locale-switching function
-------------------------------------------------+-------------------------
Reporter: johnbillion | Owner: swissspidy
Type: feature request | Status: accepted
Priority: high | Milestone: 4.7
Component: I18N | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests needs-dev- | Focuses:
note |
-------------------------------------------------+-------------------------
Comment (by ocean90):
[attachment:26511.18.diff] includes two more tests for site locale & user
locale switches. It also fixes test pollution by missing resets of the
`$l10n` and `$l10n_unload` globals and missing `set_current_screen(
'front' );` calls.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26511#comment:99>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list