[wp-trac] [WordPress Trac] #54888: Remove Customizer's Menus section when block theme is active.
WordPress Trac
noreply at wordpress.org
Mon Jan 24 05:35:25 UTC 2022
#54888: Remove Customizer's Menus section when block theme is active.
----------------------------------------+---------------------
Reporter: hellofromTonya | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.9
Component: Customize | Version:
Severity: normal | Resolution:
Keywords: has-testing-info has-patch | Focuses:
----------------------------------------+---------------------
Comment (by noisysocks):
In [changeset:"52622" 52622]:
{{{
#!CommitTicketReference repository="" revision="52622"
Customizer: Remove Widgets panel when a theme does not support widgets
By setting 'theme_supports' on the panel, we ensure that the Widgets panel
is
removed if a theme does not have support for 'widgets'.
This makes the behaviour of the Widgets and Menus panels consistent.
Follows [52621].
See #54888.
Props hellofromTonya, costdev, peterwilsoncc.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54888#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list