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

WordPress Trac noreply at wordpress.org
Fri Nov 18 19:00:33 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:  reporter-feedback has-patch has-     |     Focuses:
  unit-tests needs-refresh                       |
-------------------------------------------------+-------------------------

Comment (by azaozz):

 Replying to [comment:20 peterwilsoncc]:
 > the best approach may be to revert source code changes from the previous
 commits: [54478,54801]. The tests can remain.
 >
 > Core can then add a default filter to `nav_menu_css_class` to remove the
 child class from the final items.

 This looks like a much better solution, great job! Big +1.

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


More information about the wp-trac mailing list