[wp-trac] [WordPress Trac] #32918: _wp_menu_item_classes_by_context does not generate "current-menu-ancestor" class when the menu structure was changed by e.g. a plugin

WordPress Trac noreply at wordpress.org
Sat Jun 21 22:16:26 UTC 2025


#32918: _wp_menu_item_classes_by_context does not generate "current-menu-ancestor"
class when the menu structure was changed by e.g. a plugin
-------------------------------------------------+-------------------------
 Reporter:  anaid                                |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:
Component:  Menus                                |     Version:  4.2.2
 Severity:  normal                               |  Resolution:  duplicate
 Keywords:  has-patch needs-refresh needs-test-  |     Focuses:
  info                                           |
-------------------------------------------------+-------------------------
Changes (by SirLouen):

 * status:  new => closed
 * resolution:   => duplicate


Comment:

 Duplicate of #34839.

 Found this other ticket, also commented in this one, but after further
 analysis I can observe that is essentially the same problem, but the other
 has more progress with a working patch, so I'm closing this for duplicate.

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


More information about the wp-trac mailing list