[wp-trac] [WordPress Trac] #33469: Customizer Menus: Restore active menu to a location after selecting and unsetting another menu (was: Customizer Menus: Setting a menu location in the customizer removes current menu from that location)

WordPress Trac noreply at wordpress.org
Tue Aug 25 05:38:04 UTC 2015


#33469: Customizer Menus: Restore active menu to a location after selecting and
unsetting another menu
-------------------------+-----------------------------------------
 Reporter:  morganestes  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Customize    |     Version:  4.3
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  javascript, administration
-------------------------+-----------------------------------------
Changes (by celloexpressions):

 * keywords:   => needs-patch
 * type:  defect (bug) => enhancement


Comment:

 The reason this doesn't work this way is because the checkbox is really
 just a shortcut for the select controls in the Menu Locations section.
 Could be a nice enhancement, but likely to be very complex in terms of
 implementation. There isn't really a good way to persist the saved state;
 perhaps making the default value of the setting the saved value and
 restoring the default rather than clearing when unchecking a location? But
 would also need to make sure that you can still remove from a location by
 unchecking if you're on the active menu.

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


More information about the wp-trac mailing list