[wp-trac] [WordPress Trac] #32760: Customizer Menus: cannot save a menu with the same name as an existing menu

WordPress Trac noreply at wordpress.org
Fri Jul 3 20:02:37 UTC 2015


#32760: Customizer Menus: cannot save a menu with the same name as an existing menu
----------------------------------------+--------------------------
 Reporter:  designsimply                |       Owner:  westonruter
     Type:  defect (bug)                |      Status:  accepted
 Priority:  normal                      |   Milestone:  4.3
Component:  Customize                   |     Version:  trunk
 Severity:  major                       |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:  javascript
----------------------------------------+--------------------------

Comment (by westonruter):

 In [attachment:32760.6.diff]:

 * Move logic for checking for empty name to eliminate double checking.
 * Send back null as saved_value when deleted.
 * Add unit tests for `saved_value` and conflict-resolved menu name.

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


More information about the wp-trac mailing list