Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#13559 closed defect (bug) (duplicate)

WP 3.0 Nav Menu classes

Reported by: silvergrad's profile silvergrad Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Menus Keywords: menu, class
Focuses: Cc:

Description

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.

Change History (2)

#1 @nacin
14 years ago

  • Milestone 3.0 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #13543. Please download tonight's nightly (2300 GMT) or try trunk via SVN, these classes should be present. If anything is missing, please re-open #13543.

#2 @silvergrad
14 years ago

Thank you.

Note: See TracTickets for help on using tickets.