Hide 'Customize' toolbar item when customizer is not supported. fixes #20751, see #19910.

Removes script queue check for 'customize-loader' from wp_customize_support_script(), because we may want to check for customize-support on a page without the loader.


git-svn-id: https://develop.svn.wordpress.org/trunk@20918 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daryl Koopersmith
2012-05-25 22:26:00 +00:00
parent c4822affc0
commit e0fc4ce778
4 changed files with 24 additions and 5 deletions

View File

@@ -581,6 +581,14 @@
background-position: -2px -203px;
}
/**
* Customize support classes
*/
.no-customize-support .hide-if-no-customize,
.customize-support .hide-if-customize {
display: none;
}
/**
* Retina display 2x icons
*/