[wp-trac] [WordPress Trac] #38485: Some part of the UI can be in the wrong language (edge cases)

WordPress Trac noreply at wordpress.org
Wed Oct 26 13:29:58 UTC 2016


#38485: Some part of the UI can be in the wrong language (edge cases)
---------------------------------------+-------------------------
 Reporter:  afercia                    |       Owner:  swissspidy
     Type:  defect (bug)               |      Status:  assigned
 Priority:  normal                     |   Milestone:  4.7
Component:  I18N                       |     Version:  trunk
 Severity:  normal                     |  Resolution:
 Keywords:  has-screenshots has-patch  |     Focuses:
---------------------------------------+-------------------------

Comment (by ocean90):

 Replying to [comment:7 ocean90]:
 > In [changeset:"38952"]:
 > {{{
 > #!CommitTicketReference repository="" revision="38952"
 > About Page: Use `get_user_language()` for the video subtitles.
 >
 > Rename `$locale` to `$lang_code` to avoid stomping of the global
 `$locale`.
 >
 > See #38485.
 > }}}


 `s/get_user_language/get_user_locale/`

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38485#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list