[wp-trac] [WordPress Trac] #13559: WP 3.0 Nav Menu classes
WordPress Trac
wp-trac at lists.automattic.com
Wed May 26 18:44:26 UTC 2010
#13559: WP 3.0 Nav Menu classes
--------------------------+-------------------------------------------------
Reporter: silvergrad | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Menus | Version:
Severity: normal | Keywords: menu, class
--------------------------+-------------------------------------------------
Problem with the classes assigned to the menu items. Upto WordPress 2.9, a
single post display would mean the 'Blog' page item would be given the
class 'current_page_parent' or 'current_page_ancestor'.
Now, if I have a menu with the items:
1.Home
2.Blog (posts page)
3.Category page (Uncategorized)
When I go to the post 'Hello World', the item Uncategorized's <li> is
given the class 'current-post-parent' and the item Blog's <li> is not.
I was under the impression that the posts page should also (or only) have
the 'current-post-parent' class.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13559>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list