[wp-trac] [WordPress Trac] #32814: Custom Menu Widget should show newly added menus in Customizer

WordPress Trac noreply at wordpress.org
Mon Jul 6 13:12:20 UTC 2015


#32814: Custom Menu Widget should show newly added menus in Customizer
------------------------------------+-------------------------
 Reporter:  adamsilverstein         |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  4.3
Component:  Customize               |     Version:  trunk
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |     Focuses:  javascript
------------------------------------+-------------------------

Comment (by adamsilverstein):

 In [attachment:32814.5.diff]:
 * When clicking Save & Publish, find any old temporary menu references in
 custom menu widgets, and remove them
 * If a temporary menu was selected, reselect the newly saved item (new id)

 Fixes an issue where if you created a menu, assigned it into a custom menu
 widget and then clicks save & publish, the menu was no longer selected.

 Need to test: do we need to invalidate the widget and re-save?

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


More information about the wp-trac mailing list