[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
Tue Oct 11 16:05:33 UTC 2016


#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:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------------

Comment (by mdgl):

 Updated patch added under #34839 where the unnecessary repetition of the
 code to handle menu item parent/ancestor has also been eliminated.

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


More information about the wp-trac mailing list