[wp-trac] [WordPress Trac] #17077: Page parent li elements in nav menus not always given current-page-parent class

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 7 09:53:46 UTC 2011


#17077: Page parent li elements in nav menus not always given current-page-parent
class
--------------------------+-----------------------------
 Reporter:  andymacb      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.1
 Severity:  trivial       |   Keywords:
--------------------------+-----------------------------
 Using a fresh WP3.1.1, 2010 theme, Theme Unit Test data, adding a
 navigation menu with Parent Page as an item without any child items and
 then navigating in the browser to Child Page 1.

 The <li> for the parent menu item doesn't get assigned the current-page-
 parent class.

 It does get the current-page-ancestor class, and none of my themes demand
 the current-page-parent class specifically so I've tagged this as trivial.

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


More information about the wp-trac mailing list