scripts.mit.edu
/
autoinstalls
/
wordpress.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
WordPress 4.0.1-scripts
[autoinstalls/wordpress.git]
/
wp-admin
/
admin-header.php
diff --git
a/wp-admin/admin-header.php
b/wp-admin/admin-header.php
index 10349750ebec4e8e9cd4cd86d2187bde4f190c1c..c9d49d2b1b5418359d2c5076c301f020e26c51fd 100644
(file)
--- a/
wp-admin/admin-header.php
+++ b/
wp-admin/admin-header.php
@@
-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.
-if ( current_user_can( '
edit_theme_options' ) )
+if ( current_user_can( '
customize' ) ) {
wp_customize_support_script();
+}
?>
<div id="wpwrap">