[wp-trac] [WordPress Trac] #33411: remove_panel('nav_menus') action generates errors

WordPress Trac noreply at wordpress.org
Fri Aug 21 03:16:47 UTC 2015


#33411: remove_panel('nav_menus') action generates errors
--------------------------+------------------------------
 Reporter:  IstanbulMMV   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Customize     |     Version:  4.3
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  administration
--------------------------+------------------------------

Comment (by AJClarke):

 The debug error isn't a huge deal, but removing the nav_menus also causes
 js errors which can break js-dependent controls.

 @IstanbulMMV  - Setting the a active_callback will simply hide the panel.
 It won't actually have any improvements in the Customizer loading time.
 Just so you know ;)

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


More information about the wp-trac mailing list