Opened 13 years ago
Last modified 5 years ago
#20325 new defect (bug)
Menu item parent classes for page_for_posts (home.php) not properly set on single.php
Reported by: | ptietz | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Menus | Keywords: | needs-patch |
Focuses: | Cc: |
Description
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]
Change History (4)
Note: See
TracTickets for help on using
tickets.
Same time the home menu entry gets the current-menu-item class.