[wp-trac] [WordPress Trac] #41081: Improve Custom Menu widget, show notification if menu is empty or no menu selected

WordPress Trac noreply at wordpress.org
Thu Jun 22 23:10:11 UTC 2017


#41081: Improve Custom Menu widget, show notification if menu is empty or no menu
selected
----------------------------------------+-----------------------------
 Reporter:  alexvorn2                   |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  4.9
Component:  Widgets                     |     Version:  trunk
 Severity:  normal                      |  Resolution:
 Keywords:  good-first-bug needs-patch  |     Focuses:  administration
----------------------------------------+-----------------------------

Comment (by alexvorn2):

 Replying to [comment:12 westonruter]:
 > @mdifelice this is actually already accounted for in the Nav Menus
 component of the Customizer, specifically when nav menus get renamed,
 added, or deleted. See:
 >
 > • https://github.com/WordPress/wordpress-
 develop/blob/ddc823a3e9039e6f8f2278cd5a34d9af125bf3df/src/wp-admin/js
 /customize-nav-menus.js#L2179-L2205

 I have a custom menu widget, Is it possible to update my custom widget
 when a new menu is added/removed/renamed? I would much appreciate if you
 could answer me with a solution. (Sorry for asking help in this forum)

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


More information about the wp-trac mailing list