WordPress.org

Make WordPress Core

Changeset 32633


Ignore:
Timestamp:
05/28/2015 05:51:30 AM (7 years ago)
Author:
nacin
Message:

Revert change to default-filters.php in [32632]. see #32516.

File:
1 edited

Legend:

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

    r32632 r32633  
    9393// Format strings for display.
    9494foreach ( array( 'comment_author', 'term_name', 'link_name', 'link_description', 'link_notes', 'bloginfo', 'wp_title', 'widget_title' ) as $filter ) {
    95     // add_filter( $filter, 'wptexturize'   );
     95    add_filter( $filter, 'wptexturize'   );
    9696    add_filter( $filter, 'convert_chars' );
    9797    add_filter( $filter, 'esc_html'      );
     
    105105// Format titles
    106106foreach ( array( 'single_post_title', 'single_cat_title', 'single_tag_title', 'single_month_title', 'nav_menu_attr_title', 'nav_menu_description' ) as $filter ) {
    107     // add_filter( $filter, 'wptexturize' );
     107    add_filter( $filter, 'wptexturize' );
    108108    add_filter( $filter, 'strip_tags'  );
    109109}
     
    111111// Format text area for display.
    112112foreach ( array( 'term_description' ) as $filter ) {
    113     // add_filter( $filter, 'wptexturize'      );
     113    add_filter( $filter, 'wptexturize'      );
    114114    add_filter( $filter, 'convert_chars'    );
    115115    add_filter( $filter, 'wpautop'          );
     
    143143add_filter( 'get_the_excerpt', 'wp_trim_excerpt'  );
    144144
    145 // add_filter( 'comment_text', 'wptexturize'            );
     145add_filter( 'comment_text', 'wptexturize'            );
    146146add_filter( 'comment_text', 'convert_chars'          );
    147147add_filter( 'comment_text', 'make_clickable',      9 );
Note: See TracChangeset for help on using the changeset viewer.