Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#13559 closed defect (bug) (duplicate)

WP 3.0 Nav Menu classes

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

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
16 years ago

  • Milestone 3.0
  • Resolution → duplicate
  • Status new → 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
16 years ago

Thank you.

Note: See TracTickets for help on using tickets.