WordPress.org

Make WordPress Core

Changeset 16095


Ignore:
Timestamp:
10/29/2010 10:49:42 PM (8 years ago)
Author:
nacin
Message:

Add menu-item-object-$object class. props filosofo, fixes #14053.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/nav-menu-template.php

    r15904 r16095  
    321321        $classes[] = 'menu-item';
    322322        $classes[] = 'menu-item-type-' . $menu_item->type;
     323        $classes[] = 'menu-item-object-' . $menu_item->object;
    323324
    324325        // if the menu item corresponds to a taxonomy term for the currently-queried non-hierarchical post object
Note: See TracChangeset for help on using the changeset viewer.