[wp-trac] [WordPress Trac] #39800: current_item_{parent|ancestor} Not set for Post Type Archive Items

WordPress Trac noreply at wordpress.org
Wed Jul 5 21:30:32 UTC 2017


#39800: current_item_{parent|ancestor} Not set for Post Type Archive Items
---------------------------------------------+----------------------
 Reporter:  mrwweb                           |       Owner:  welcher
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  4.9
Component:  Menus                            |     Version:  4.7.2
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+----------------------
Changes (by SergeyBiryukov):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"41008"]:
 {{{
 #!CommitTicketReference repository="" revision="41008"
 Menus: Make sure `current-menu-parent` and `current-menu-ancestor` classes
 are properly set for parent items of post type archive submenu items.

 Props mrwweb, ajoah, welcher.
 Fixes #39800.
 }}}

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


More information about the wp-trac mailing list