[wp-trac] [WordPress Trac] #38482: Admin notices in the wrong language when switching language

WordPress Trac noreply at wordpress.org
Thu Nov 3 17:54:45 UTC 2016


#38482: Admin notices in the wrong language when switching language
-------------------------------------------------+-------------------------
 Reporter:  afercia                              |       Owner:  ocean90
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  4.7
Component:  I18N                                 |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-screenshots has-patch needs-     |     Focuses:
  testing                                        |
-------------------------------------------------+-------------------------
Changes (by ocean90):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39122"]:
 {{{
 #!CommitTicketReference repository="" revision="39122"
 I18N: Show "Settings saved." in the correct language after switching the
 site language.

 This simplifies the logic by comparing `get_user_locale()` before and
 after an settings update.

 Props swissspidy, ocean90.
 See #29783, #29281.
 Fixes #38482.
 }}}

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


More information about the wp-trac mailing list