[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
Tue Jun 27 00:19:09 UTC 2017


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

Comment (by alexvorn2):

 Replying to [comment:15 mdifelice]:

 > Also, anybody knows why the Menu Widget update is being made by the Menu
 Controller? I think it would be more maintainable if that update is made
 by the Widget Controller communicating them via events or something like
 that.

 1. We can make the widget update after the saving #41103 (ticket closed
 but fell free to reopen)
 2. So after a new menu is added/removed/edited -> we just make the widget
 to save and it will update itself.

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


More information about the wp-trac mailing list