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

Built from https://develop.svn.wordpress.org/trunk@32633


git-svn-id: http://core.svn.wordpress.org/trunk@32603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2015-05-28 05:52:25 +00:00
parent 65c382d550
commit 6df83c542b
2 changed files with 5 additions and 5 deletions

View File

@ -92,7 +92,7 @@ foreach ( array( 'content_save_pre', 'excerpt_save_pre', 'comment_save_pre', 'pr
// Format strings for display. // Format strings for display.
foreach ( array( 'comment_author', 'term_name', 'link_name', 'link_description', 'link_notes', 'bloginfo', 'wp_title', 'widget_title' ) as $filter ) { foreach ( array( 'comment_author', 'term_name', 'link_name', 'link_description', 'link_notes', 'bloginfo', 'wp_title', 'widget_title' ) as $filter ) {
// add_filter( $filter, 'wptexturize' ); add_filter( $filter, 'wptexturize' );
add_filter( $filter, 'convert_chars' ); add_filter( $filter, 'convert_chars' );
add_filter( $filter, 'esc_html' ); add_filter( $filter, 'esc_html' );
} }
@ -104,13 +104,13 @@ add_filter( 'comment_text', 'capital_P_dangit', 31 );
// Format titles // Format titles
foreach ( array( 'single_post_title', 'single_cat_title', 'single_tag_title', 'single_month_title', 'nav_menu_attr_title', 'nav_menu_description' ) as $filter ) { foreach ( array( 'single_post_title', 'single_cat_title', 'single_tag_title', 'single_month_title', 'nav_menu_attr_title', 'nav_menu_description' ) as $filter ) {
// add_filter( $filter, 'wptexturize' ); add_filter( $filter, 'wptexturize' );
add_filter( $filter, 'strip_tags' ); add_filter( $filter, 'strip_tags' );
} }
// Format text area for display. // Format text area for display.
foreach ( array( 'term_description' ) as $filter ) { foreach ( array( 'term_description' ) as $filter ) {
// add_filter( $filter, 'wptexturize' ); add_filter( $filter, 'wptexturize' );
add_filter( $filter, 'convert_chars' ); add_filter( $filter, 'convert_chars' );
add_filter( $filter, 'wpautop' ); add_filter( $filter, 'wpautop' );
add_filter( $filter, 'shortcode_unautop'); add_filter( $filter, 'shortcode_unautop');
@ -142,7 +142,7 @@ add_filter( 'the_excerpt', 'wpautop' );
add_filter( 'the_excerpt', 'shortcode_unautop'); add_filter( 'the_excerpt', 'shortcode_unautop');
add_filter( 'get_the_excerpt', 'wp_trim_excerpt' ); add_filter( 'get_the_excerpt', 'wp_trim_excerpt' );
// add_filter( 'comment_text', 'wptexturize' ); add_filter( 'comment_text', 'wptexturize' );
add_filter( 'comment_text', 'convert_chars' ); add_filter( 'comment_text', 'convert_chars' );
add_filter( 'comment_text', 'make_clickable', 9 ); add_filter( 'comment_text', 'make_clickable', 9 );
add_filter( 'comment_text', 'force_balance_tags', 25 ); add_filter( 'comment_text', 'force_balance_tags', 25 );

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.3-alpha-32632'; $wp_version = '4.3-alpha-32633';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.