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

WordPress Trac noreply at wordpress.org
Tue Nov 15 17:54:47 UTC 2022


#56926: Infinite loop in wp_nav_menu
-------------------------------------------------+-------------------------
 Reporter:  david.binda                          |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  6.1.2
Component:  Menus                                |     Version:  6.1
 Severity:  normal                               |  Resolution:
 Keywords:  reporter-feedback has-patch has-     |     Focuses:
  unit-tests needs-refresh                       |
-------------------------------------------------+-------------------------
Changes (by desrosj):

 * milestone:  Future Release => 6.1.2


Comment:

 Replying to [comment:16 jmdodd]:
 Thanks! This is helpful.

 > In general, I think core code should protect against infinite loops due
 to bad/malformed/unexpected data whenever possible because it is a minor
 inconvenience compared to the performance consequences of a loop.

 Definitely agree. But just looking to understand this a bit more first.

 Also related: #56946.

 Moving this to `6.1.2` to keep it on the front burner.

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


More information about the wp-trac mailing list