WordPress.org

Make WordPress Core

Changeset 18733


Ignore:
Timestamp:
09/20/2011 09:58:37 PM (8 years ago)
Author:
duck_
Message:

Make new nav menu items have a blank description and attr_title. See #16799.

File:
1 edited

Legend:

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

    r18426 r18733  
    637637            $menu_item->target = '';
    638638
    639             $menu_item->attr_title = apply_filters( 'nav_menu_attr_title', $menu_item->post_excerpt );
    640             $menu_item->description = apply_filters( 'nav_menu_description', $menu_item->post_content );
     639            $menu_item->attr_title = apply_filters( 'nav_menu_attr_title', '' );
     640            $menu_item->description = apply_filters( 'nav_menu_description', '' );
    641641            $menu_item->classes = array();
    642642            $menu_item->xfn = '';
Note: See TracChangeset for help on using the changeset viewer.