[wp-trac] [WordPress Trac] #20325: Menu item parent classes for page_for_posts (home.php) not properly set on single.php
WordPress Trac
wp-trac at lists.automattic.com
Thu Mar 29 12:50:06 UTC 2012
#20325: Menu item parent classes for page_for_posts (home.php) not properly set on
single.php
--------------------------+-----------------------------
Reporter: ptietz | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version:
Severity: normal | Keywords: needs-patch
--------------------------+-----------------------------
If one has set page_for_posts (Settings => Read), on single.php
wp_nav_menu() will set current_page_parent for the accordant menu item,
but it will not set any parent or ancestor classes for its parent menu
items as expected. [tested with 3.3.1]
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20325>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list