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

WordPress Trac noreply at wordpress.org
Mon Apr 3 22:41:03 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 fixed-major  |     Focuses:
Changes (by swissspidy):

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


 In [changeset:"40369"]:
 #!CommitTicketReference repository="" revision="40369"
 Customize: Use `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.

 Merges [40368] to the 4.7 branch.

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

More information about the wp-trac mailing list