mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Consistently show "Customize" item in the admin menu. props ethitter. fixes #21413.
git-svn-id: https://develop.svn.wordpress.org/trunk@23879 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f25bae2168
commit
d26bddce5c
@ -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
Block a user