WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/16/2010 10:01:49 PM (12 years ago)
Author:
ryan
Message:

Menu item -> append should be a key/name, not a label. see #11817

File:
1 edited

Legend:

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

    r13704 r13722  
    117117        $menu_item = wp_setup_nav_menu_item( $menu_item, 'frontend' );
    118118
    119         $type = sanitize_title_with_dashes( $menu_item->append );
     119        $type = $menu_item->append;
    120120        $maybe_value = 'frontend' == $args->context ? '' : ' value="'. $menu_item->ID .'"';
    121121        $classes = 'frontend' == $args->context ? ' class="menu-item-type-'. $type . $menu_item->li_class .'"' : '';
Note: See TracChangeset for help on using the changeset viewer.