[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:32:42 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:"52621" 52621]:
 {{{
 #!CommitTicketReference repository="" revision="52621"
 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.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54888#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list