]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/admin-header.php
WordPress 4.0.1-scripts
[autoinstalls/wordpress.git] / wp-admin / admin-header.php
index 10349750ebec4e8e9cd4cd86d2187bde4f190c1c..c9d49d2b1b5418359d2c5076c301f020e26c51fd 100644 (file)
@@ -177,8 +177,9 @@ $admin_body_class .= ' no-customize-support no-svg';
 
 <?php
 // Make sure the customize body classes are correct as early as possible.
 
 <?php
 // Make sure the customize body classes are correct as early as possible.
-if ( current_user_can( 'edit_theme_options' ) )
+if ( current_user_can( 'customize' ) ) {
        wp_customize_support_script();
        wp_customize_support_script();
+}
 ?>
 
 <div id="wpwrap">
 ?>
 
 <div id="wpwrap">