]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/admin-header.php
Wordpress 3.6
[autoinstalls/wordpress.git] / wp-admin / admin-header.php
index f99934e58e6eba8543d85a293959e3dbdbc3531c..00ad2996956efdef30f4b412f047d8056ceb8bd7 100644 (file)
@@ -98,9 +98,8 @@ $admin_body_class .= ' no-customize-support';
 </script>
 
 <?php
-// If the customize-loader script is enqueued, make sure the customize
-// body classes are correct as early as possible.
-if ( wp_script_is( 'customize-loader', 'queue' ) && current_user_can( 'edit_theme_options' ) )
+// Make sure the customize body classes are correct as early as possible.
+if ( current_user_can( 'edit_theme_options' ) )
        wp_customize_support_script();
 ?>