[wp-trac] [WordPress Trac] #51592: Customizer: Create New Menu is Empty

WordPress Trac noreply at wordpress.org
Fri Oct 23 14:16:38 UTC 2020


#51592: Customizer: Create New Menu is Empty
--------------------------+---------------------
 Reporter:  boldgrid      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.6
Component:  Customize     |     Version:  trunk
 Severity:  blocker       |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+---------------------

Comment (by david.binda):

 I have looked into this a bit, and it looks like the rendering of the
 missing nav menu controls is prevented by the conditional in
 https://build.trac.wordpress.org/browser/trunk/wp-admin/js/customize-
 controls.js?rev=48413#L3701

 Testing the beta with jQuery 3.5.1, the `parentContainer` and
 `control.container.parent()` are the same objects, however with jQuery
 1.12.4 the `control.container.parent()` is empty.

 Could this be related to the changes mentioned in https://jquery.com
 /upgrade-guide/1.9/#ordering-of-disconnected-nodes-within-a-jquery-set ?

 However, I'm not sure if that's a root cause or just a symptom.

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


More information about the wp-trac mailing list