wordpress-develop/src/wp-includes/customize
Weston Ruter 6d43d90b5f Customize: Prevent PHP notice in Customizer when using block theme.
Use the `customize_panel_active` filter to deactivate the Menus panel instead of overriding the `check_capabilities` method. This ensures the panel remains registered but is still hidden.

See #54888.
Fixes #54905.


git-svn-id: https://develop.svn.wordpress.org/trunk@54419 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-07 20:46:39 +00:00
..
class-wp-customize-background-image-control.php Docs: Add missing documentation for some Customize class properties: 2022-05-18 15:22:15 +00:00
class-wp-customize-background-image-setting.php Docs: Add missing documentation for some Customize class properties: 2022-05-18 15:22:15 +00:00
class-wp-customize-background-position-control.php Customize: Hide native control on background position field. 2021-08-19 02:06:06 +00:00
class-wp-customize-code-editor-control.php Docs: Consistently include an empty line between @since tag and @see, @link, or @global, per the documentation standards. 2020-06-16 21:05:20 +00:00
class-wp-customize-color-control.php Docs: Add a @see reference to WP_Customize_Control::__construct() in child class constructors. 2020-02-26 13:29:01 +00:00
class-wp-customize-cropped-image-control.php
class-wp-customize-custom-css-setting.php Code Modernization: Fix parameter name mismatch with parent in WP_Customize_Custom_CSS_Setting::validate(). 2021-09-09 15:17:20 +00:00
class-wp-customize-date-time-control.php Docs: Update some @var tags per the documentation standards. 2021-12-11 19:49:38 +00:00
class-wp-customize-filter-setting.php
class-wp-customize-header-image-control.php Docs: Add missing documentation for some Customize class properties: 2022-05-18 15:22:15 +00:00
class-wp-customize-header-image-setting.php Docs: Add missing documentation for some Customize class properties: 2022-05-18 15:22:15 +00:00
class-wp-customize-image-control.php Docs: Add documentation for the $type and $mime_type properties in WP_Customize_Image_Control. 2020-11-22 15:50:35 +00:00
class-wp-customize-media-control.php Images: enable WebP support. 2021-05-04 14:43:36 +00:00
class-wp-customize-nav-menu-auto-add-control.php
class-wp-customize-nav-menu-control.php Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:23:32 +00:00
class-wp-customize-nav-menu-item-control.php Administration: Replace "Current theme" with "Active theme" in user facing strings. 2022-01-15 08:42:56 +00:00
class-wp-customize-nav-menu-item-setting.php General: Replace all esc_url_raw() calls in core with sanitize_url(). 2022-06-01 18:12:25 +00:00
class-wp-customize-nav-menu-location-control.php Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-includes. 2019-07-02 23:41:16 +00:00
class-wp-customize-nav-menu-locations-control.php Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:23:32 +00:00
class-wp-customize-nav-menu-name-control.php
class-wp-customize-nav-menu-section.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:13:57 +00:00
class-wp-customize-nav-menu-setting.php Docs: Fix typos in some DocBlocks. 2022-01-18 20:27:39 +00:00
class-wp-customize-nav-menus-panel.php Customize: Prevent PHP notice in Customizer when using block theme. 2022-10-07 20:46:39 +00:00
class-wp-customize-new-menu-control.php Docs: Add a @see reference to WP_Customize_Control::__construct() in child class constructors. 2020-02-26 13:29:01 +00:00
class-wp-customize-new-menu-section.php Docs: Use a consistent description for the $manager parameter in various Customizer class constructions. 2020-02-26 15:31:19 +00:00
class-wp-customize-partial.php Code Modernization: Add AllowDynamicProperties attribute to all (parent) classes. 2022-09-12 15:45:36 +00:00
class-wp-customize-selective-refresh.php Code Modernization: Add AllowDynamicProperties attribute to all (parent) classes. 2022-09-12 15:45:36 +00:00
class-wp-customize-sidebar-section.php
class-wp-customize-site-icon-control.php Coding Standards: Add a space before / character in some self-closing HTML tags. 2021-03-20 18:28:32 +00:00
class-wp-customize-theme-control.php Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:23:32 +00:00
class-wp-customize-themes-panel.php Docs: Replace "Current theme" with "Active theme" in various DocBlocks. 2022-01-20 23:51:22 +00:00
class-wp-customize-themes-section.php Text Changes: Unify various "Back to..." vs. "Return to..." vs. "Go to..." strings. 2020-11-09 10:51:52 +00:00
class-wp-customize-upload-control.php Docs: Add documentation for the $type, $mime_type, and $button_labels properties in WP_Customize_Upload_Control. 2020-11-22 15:49:48 +00:00
class-wp-sidebar-block-editor-control.php Adds the widgets block editor to widgets.php and customize.php 2021-05-25 08:51:09 +00:00
class-wp-widget-area-customize-control.php Docs: Correct @since tag for the class-wp-widget-area-customize-control.php file. 2020-11-22 15:10:55 +00:00
class-wp-widget-form-customize-control.php Bootstrap/Load: Remove duplicate leading slashes on inclusion of various files under ABSPATH. 2019-04-13 04:45:05 +00:00