[wp-trac] [WordPress Trac] #38890: Customize: Nav menus can cause infinite reloads in some situations

WordPress Trac noreply at wordpress.org
Mon Nov 21 17:39:15 UTC 2016


#38890: Customize: Nav menus can cause infinite reloads in some situations
--------------------------+-------------------------
 Reporter:  westonruter   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  4.7
Component:  Customize     |    Version:
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-------------------------
 The way I've reproduced the problem, as suggested by @swissspidy:

 1. Create 5 posts.
 2. Create a new nav menu and assign to a location.
 3. Assign 5 posts to new nav menu.
 4. Trash the 5 posts so that all of the nav menu items become invalid.
 5. Load site in the customizer and notice infinite reloads.

 It appears to be a problem with `handleUnplacedNavMenuInstances`.

 Reported at:
 https://wordpress.org/support/topic/customizer-preview-keeps-refreshing-
 infinitely-under-certain-circumstances/#post-8463765
 https://wordpress.slack.com/archives/core-customize/p1479733895000901

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38890>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list