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. Built from https://develop.svn.wordpress.org/trunk@54419 git-svn-id: http://core.svn.wordpress.org/trunk@53978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
esc_url_raw()
sanitize_url()
@see
WP_Customize_Control::__construct()
AllowDynamicProperties