[wp-trac] [WordPress Trac] #36012: Add .current-ancestor class to any relative menu item ancestor

WordPress Trac noreply at wordpress.org
Wed Apr 24 15:23:30 UTC 2019


#36012: Add .current-ancestor class to any relative menu item ancestor
-------------------------------------+-------------------------------------
 Reporter:  vovkasolovev             |       Owner:  SergeyBiryukov
     Type:  enhancement              |      Status:  reopened
 Priority:  normal                   |   Milestone:  Future Release
Component:  Menus                    |     Version:  4.4.2
 Severity:  normal                   |  Resolution:
 Keywords:  needs-unit-tests has-    |     Focuses:  accessibility,
  patch                              |  template
-------------------------------------+-------------------------------------
Changes (by Mista-Flo):

 * keywords:  needs-patch needs-unit-tests => needs-unit-tests has-patch


Comment:

 The patch is really simple, instead of just adding this class for page, it
 add it for all custom post types and taxonomies.

 Is unit tests really needed ?

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


More information about the wp-trac mailing list