From 3c9f3effb098006430a9bb547ef535c1c9dcf863 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Mon, 15 Jan 2018 00:10:42 +0000 Subject: [PATCH] Formatting: Do not run formatting and texturization on author bios. Removes the formatting and texturization added to author bios in #40040 due to back-compatibility concerns. Reverts [41172], [41173]. Props 0x6f0, rabmalin for review, peterwilsoncc. Merges [42441] to the 4.9 branch. Fixes #42578. Built from https://develop.svn.wordpress.org/branches/4.9@42445 git-svn-id: http://core.svn.wordpress.org/branches/4.9@42275 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/default-filters.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/default-filters.php b/wp-includes/default-filters.php index 9315d397ff..d64363cf32 100644 --- a/wp-includes/default-filters.php +++ b/wp-includes/default-filters.php @@ -114,7 +114,7 @@ foreach ( array( 'single_post_title', 'single_cat_title', 'single_tag_title', 's } // Format text area for display. -foreach ( array( 'term_description', 'get_the_author_description', 'get_the_post_type_description' ) as $filter ) { +foreach ( array( 'term_description', 'get_the_post_type_description' ) as $filter ) { add_filter( $filter, 'wptexturize' ); add_filter( $filter, 'convert_chars' ); add_filter( $filter, 'wpautop' );