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
This commit is contained in:
parent
ea4acee9f9
commit
4a03b8dd61
|
@ -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();
|
||||
?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue