Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Consistently show "Customize" item in the admin menu. props ethitter.…

… fixes #21413.

git-svn-id: http://core.svn.wordpress.org/trunk@23879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
commit 4a03b8dd61674b46fb53c66aa71051663a5b2653 1 parent ea4acee
@SergeyBiryukov SergeyBiryukov authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 wp-admin/admin-header.php
View
5 wp-admin/admin-header.php
@@ -98,9 +98,8 @@
</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();
?>
Please sign in to comment.
Something went wrong with that request. Please try again.