[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
Tue Jun 30 03:59:54 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-testing  |     Focuses:  javascript
-------------------------------------+--------------------------

Comment (by celloexpressions):

 Testing the patch, looks like I can create an unnamed menu with just
 spaces and successfully add items and set it to a location then save, but
 when refreshing the Customizer it's gone.

 I think we should just skip the unnamed stuff and reject empty or spaces-
 only menus before they're even created, as @tywayne suggested. That would
 be the simplest approach and should avoid confusion for the user.

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


More information about the wp-trac mailing list