[wp-trac] [WordPress Trac] #23902: Classes set with nav_menu_css_class are not accessible in walker_nav_menu_start_el

WordPress Trac noreply at wordpress.org
Sun Feb 1 12:25:37 UTC 2026


#23902: Classes set with nav_menu_css_class are not accessible in
walker_nav_menu_start_el
-------------------------------------+---------------------
 Reporter:  jamesmehorter            |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:
Component:  Menus                    |     Version:  3.5.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+---------------------
Changes (by r1k0):

 * keywords:  has-patch needs-testing needs-refresh => has-patch needs-
               refresh


Comment:

 The [https://core.trac.wordpress.org/attachment/ticket/23902/nav-menu-
 template.php.patch patch] is quite ancient and fails to apply with the
 following error:
 {{{
 patching file src/wp-includes/nav-menu-template.php
 Hunk #1 FAILED at 95.
 1 out of 1 hunk FAILED -- saving rejects to file src/wp-includes/nav-menu-
 template.php.rej
 }}}

 Testing would not be necessary at this moment until patch is refreshed.
 Removed `needs-testing`

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


More information about the wp-trac mailing list