WordPress/wp-includes/customize
noisysocks 4aaa1803ec Customizer: Remove Menus panel when a theme does not support menus
By overriding check_capabilities(), we can ensure that the Menus panel
is removed if a theme does not have support for 'menus' nor 'widgets'.

This ensures that the Menus panel does not appear when using a block
theme, which is confusing to users.

See #54888.
Props hellofromTonya, costdev, peterwilsoncc.

Built from https://develop.svn.wordpress.org/trunk@52621


git-svn-id: http://core.svn.wordpress.org/trunk@52209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-24 05:34:04 +00:00
..
class-wp-customize-background-image-control.php
class-wp-customize-background-image-setting.php
class-wp-customize-background-position-control.php
class-wp-customize-code-editor-control.php
class-wp-customize-color-control.php
class-wp-customize-cropped-image-control.php
class-wp-customize-custom-css-setting.php
class-wp-customize-date-time-control.php
class-wp-customize-filter-setting.php
class-wp-customize-header-image-control.php
class-wp-customize-header-image-setting.php
class-wp-customize-image-control.php
class-wp-customize-media-control.php
class-wp-customize-nav-menu-auto-add-control.php
class-wp-customize-nav-menu-control.php
class-wp-customize-nav-menu-item-control.php Administration: Replace "Current theme" with "Active theme" in user facing strings. 2022-01-15 08:44:03 +00:00
class-wp-customize-nav-menu-item-setting.php
class-wp-customize-nav-menu-location-control.php
class-wp-customize-nav-menu-locations-control.php
class-wp-customize-nav-menu-name-control.php
class-wp-customize-nav-menu-section.php
class-wp-customize-nav-menu-setting.php Docs: Fix typos in some DocBlocks. 2022-01-18 20:29:06 +00:00
class-wp-customize-nav-menus-panel.php Customizer: Remove Menus panel when a theme does not support menus 2022-01-24 05:34:04 +00:00
class-wp-customize-new-menu-control.php
class-wp-customize-new-menu-section.php
class-wp-customize-partial.php
class-wp-customize-selective-refresh.php
class-wp-customize-sidebar-section.php
class-wp-customize-site-icon-control.php
class-wp-customize-theme-control.php
class-wp-customize-themes-panel.php Docs: Replace "Current theme" with "Active theme" in various DocBlocks. 2022-01-20 23:53:05 +00:00
class-wp-customize-themes-section.php
class-wp-customize-upload-control.php
class-wp-sidebar-block-editor-control.php
class-wp-widget-area-customize-control.php
class-wp-widget-form-customize-control.php