Make WordPress Core


Ignore:
Timestamp:
05/23/2010 10:56:51 PM (14 years ago)
Author:
nacin
Message:

Properly format menu item title attributes and descriptions. props ryan, fixes #12864.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-filters.php

    r14814 r14826  
    8888
    8989// Format titles
    90 foreach ( array( 'single_post_title', 'single_cat_title', 'single_tag_title', 'single_month_title' ) as $filter ) {
     90foreach ( array( 'single_post_title', 'single_cat_title', 'single_tag_title', 'single_month_title', 'nav_menu_attr_title', 'nav_menu_description' ) as $filter ) {
    9191    add_filter( $filter, 'wptexturize' );
    9292    add_filter( $filter, 'strip_tags'  );
Note: See TracChangeset for help on using the changeset viewer.