[wp-trac] [WordPress Trac] #54905: PHP notice while accessing Customizer
WordPress Trac
noreply at wordpress.org
Fri Oct 7 20:46:53 UTC 2022
#54905: PHP notice while accessing Customizer
-------------------------------------------------+-------------------------
Reporter: Boniu91 | Owner:
| westonruter
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.1
Component: Customize | Version:
Severity: normal | Resolution: fixed
Keywords: has-testing-info has-screenshots | Focuses:
has-patch dev-feedback commit |
-------------------------------------------------+-------------------------
Changes (by westonruter):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"54419" 54419]:
{{{
#!CommitTicketReference repository="" revision="54419"
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.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54905#comment:44>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list