[wp-trac] [WordPress Trac] #16382: Menus adds "current_page_parent" class to the blog page when viewing a custom post type entry

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 26 22:37:36 UTC 2011


#16382: Menus adds "current_page_parent" class to the blog page when viewing a
custom post type entry
--------------------------+-----------------------------
 Reporter:  tammyhart     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Menus         |    Version:  3.0.4
 Severity:  normal        |   Keywords:  dev-feedback
--------------------------+-----------------------------
 Here is an example: http://www.flowermag.com/article/love-rocks/

 This entry is in the custom post type "article", but the navigation item
 "blog" is getting the class "current_page_parent" even though an article
 is not a blog post.

 This is a problem since if you're using "current_page_parent" for
 navigation highlighting, this would render an incorrect display.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16382>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list