[wp-trac] [WordPress Trac] #26511: Introduce a locale-switching function
WordPress Trac
noreply at wordpress.org
Wed Oct 26 14:14:46 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):
In [changeset:"38955"]:
{{{
#!CommitTicketReference repository="" revision="38955"
I18N: Add `$user_id` argument to `get_user_locale()`.
This allows to retrieve the locale of any user with the additional
fallback to the site locale.
Fixes #38512.
See #29783, #26511.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26511#comment:101>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list