[wp-trac] [WordPress Trac] #35112: Screen Options in Appearance -> Menu not saved correctly sometimes

WordPress Trac noreply at wordpress.org
Thu Dec 17 13:37:17 UTC 2015


#35112: Screen Options in Appearance -> Menu not saved correctly sometimes
----------------------------+-----------------------------
 Reporter:  Asgaros         |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  4.4.1
Component:  Administration  |     Version:  4.4
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  ui, javascript
----------------------------+-----------------------------

Comment (by afercia):

 @westonruter Yep, [attachment:35112.2.patch] seems to fix it by the way
 the first bug is a regression from 4.4 and the second one is unrelated,
 probably has worked this way forever. Not sure why it was coded that way.

 Just to clarify, with the first patch applied which fixes just the
 regression, here's what happens for me. See screenshot, dumping `hidden`
 in `customize-nav-menus.js` at line 616.
 The first time I click on "Link Target", `hidden` is undefined, the second
 time I click on "Title Attribute" and it correctly returns both IDs.

 [[Image(https://cldup.com/D0Dr9UINiY.png)]]

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


More information about the wp-trac mailing list