[wp-trac] [WordPress Trac] #38512: Add $user argument to get_user_locale()

WordPress Trac noreply at wordpress.org
Wed Oct 26 14:14:45 UTC 2016


#38512: Add $user argument to get_user_locale()
--------------------------------------+----------------------
 Reporter:  ocean90                   |       Owner:  ocean90
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  4.7
Component:  I18N                      |     Version:  trunk
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+----------------------
Changes (by ocean90):

 * owner:   => ocean90
 * status:  new => closed
 * resolution:   => fixed


Comment:

 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/38512#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list