[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 16:47:06 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 close |
------------------------------------------+------------------------------
Changes (by nacin):
* keywords: has-patch dev-feedback => has-patch dev-feedback close
Comment:
Adding no-customize-support by default is to handle flashes of should-be-
hidden content before the JS in wp_customize_support_script() fires.
Otherwise, content that is both .hide-if-customize and .hide-if-no-
customize might appear by default, among other side effects.
But, since "Customize" appears in a dropdown in the toolbar, and therefore
hidden on load, we're not worried about a flicker, and can let the JS
handle it.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20896#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list