[wp-trac] [WordPress Trac] #32672: Unable to assign Menu location when creating the first menu

WordPress Trac noreply at wordpress.org
Sun Jun 28 11:43:33 UTC 2015


#32672: Unable to assign Menu location when creating the first menu
-------------------------------------+--------------------------
 Reporter:  dinamiko                 |       Owner:  westonruter
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  4.3
Component:  Customize                |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+--------------------------

Old description:

> * On a fresh install go to Appearance / Customizer / Menus
> * Add a menu and add some items, Save & Publish.
> * In Menu locations check your menu, Save & Publish.
>
> I recorded a video here: https://vimeo.com/130993994

New description:

 Replying to [comment:8 designsimply]:
 > I also tested 32672.2.diff, but I spotted an error in the console and
 the first menu gets listed twice in the Menu Locations panel if you follow
 the testing steps exactly and click Save & Publish before going to Menu
 Locations ([https://cldup.com/TsZhos4SHn.png screenshot]).

 @gabrielperezs and I took a look at this during WCEU's contributor day.
 Both patches apply without issue, but introduce a new bug with the Menu
 Locations.

 We were not able to reproduce the duplicate menus in the Locations Panel,
 but we are noticing that the newly created menus will not appear in the
 Locations Panel, without a Save & Publish action.  Otherwise, the menu
 remains empty.

 Steps to reproduce.

 1.) Apply [attachment: 32672.2.diff]
 2.) Add a new menu via the Customizer's Menu Panel.
 3.) Select a menu location from the Menu Panel.
 4.) Without saving, navigate to the Menu Locations Panel.

 The newly created menu will not appear.  This is presumably because the
 newly created menu is never saved.

--

Comment (by stevenkword):

 Replying to [comment:8 designsimply]:
 > I also tested 32672.2.diff, but I spotted an error in the console and
 the first menu gets listed twice in the Menu Locations panel if you follow
 the testing steps exactly and click Save & Publish before going to Menu
 Locations ([https://cldup.com/TsZhos4SHn.png screenshot]).

 @gabrielperezs and I took a look at this during WCEU's contributor day.
 Both patches apply without issue, but introduce a new bug with the Menu
 Locations.

 We were not able to reproduce the duplicate menus in the Locations Panel,
 but we are noticing that the newly created menus will not appear in the
 Locations Panel, without a Save & Publish action.  Otherwise, the menu
 remains empty.

 Steps to reproduce.

 1.) Apply [attachment: 32672.2.diff]
 2.) Add a new menu via the Customizer's Menu Panel.
 3.) Select a menu location from the Menu Panel.
 4.) Without saving, navigate to the Menu Locations Panel.

 The newly created menu will not appear, presumably because the newly
 created menu is never saved.

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


More information about the wp-trac mailing list