[wp-trac] [WordPress Trac] #56926: Infinite loop in wp_nav_menu

WordPress Trac noreply at wordpress.org
Sat Nov 19 00:37:08 UTC 2022


#56926: Infinite loop in wp_nav_menu
--------------------------------------+-----------------------------
 Reporter:  david.binda               |       Owner:  hellofromTonya
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  6.1.2
Component:  Menus                     |     Version:  6.1
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------

Comment (by peterwilsoncc):

 In the [https://github.com/WordPress/wordpress-develop/pull/3649 linked
 pull request]:

 * Partial revert of [54478,54801], the tests for each are retained.
 * Introduced a default filter to remove the item from bottom level items.
 * No additional tests as yet as I haven't looked too deeply at the
 reproduction steps.

 @azaozz #57122 exists for the undefined offset error. The tests I've
 written need to be improved as they are currently passing.

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


More information about the wp-trac mailing list