[wp-trac] [WordPress Trac] #40271: Use get_user_locale() in Customizer

WordPress Trac noreply at wordpress.org
Mon Apr 3 22:36:37 UTC 2017


#40271: Use get_user_locale() in Customizer
------------------------------+-------------------------
 Reporter:  swissspidy        |       Owner:  swissspidy
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.7.4
Component:  Customize         |     Version:  4.7
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-------------------------
Changes (by swissspidy):

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


Comment:

 In [changeset:"40368"]:
 {{{
 #!CommitTicketReference repository="" revision="40368"
 Customize: User `get_user_locale()` in customizer body class.

 Otherwise CSS specific to the site's locale would be applied, even though
 the customizer is displayed in the user's locale.

 See #29783.
 Fixes #40271.
 }}}

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


More information about the wp-trac mailing list