[wp-trac] [WordPress Trac] #38835: A current-menu-item CSS class is not added to relevant WP menu items if the query is for a custom post type archive

WordPress Trac noreply at wordpress.org
Thu Nov 17 00:27:45 UTC 2016


#38835: A current-menu-item CSS class is not added to relevant WP menu items if the
query is for a custom post type archive
--------------------------+------------------------------
 Reporter:  henry.wright  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  4.6.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by henry.wright):

 Steps to reproduce

 1. Add a post type archive item to a WP menu
 2. Visit the post type archive

 Note that the {{{current-menu-item}}} CSS class isn't added to the menu
 item.

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


More information about the wp-trac mailing list