[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
Wed Jul 8 14:10:45 UTC 2015


#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:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Menus         |     Version:  4.2.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by anaid):

 In the steps to reproduce, a last step is needed: Set "Remove original
 menu item" to "Never", to obtain a three-layered menu. (Otherwise, only
 'current-menu-parent' would be applicable)

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


More information about the wp-trac mailing list