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

WordPress Trac noreply at wordpress.org
Thu Nov 17 00:26:42 UTC 2016


#38836: A current_page_parent CSS class is not added to relevant WP menu items if
the query is for a custom post type single item
--------------------------+------------------------------
 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 a single item of that post type

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

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


More information about the wp-trac mailing list