[wp-trac] [WordPress Trac] #20896: Theme Customizer: Add "no-customize-support" class to the body tag by default

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 1 11:26:27 UTC 2012


#20896: Theme Customizer: Add "no-customize-support" class to the body tag by
default
------------------------------------+------------------------------
 Reporter:  kobenland               |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Appearance              |     Version:  3.4
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------------------

Comment (by SergeyBiryukov):

 > In order for `hide-if-no-customize` in the Toolbar to work, `no-
 customize-support` has to be added by default to the body classes.

 From my testing, this is exactly what `wp_customize_support_script()`
 does, on the front end as well. In IE 7, which doesn't support the
 customizer, the link in the Toolbar is not visible.

 I guess the comment about adding `no-customize-support` class to the body
 tag by default is no longer relevant. [attachment:20896.3.diff] removes
 it.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20896#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list