From 9897984f247cdd476d7542ba37baf6beaf08ac1e Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Thu, 27 Jul 2017 15:09:19 +0000 Subject: [PATCH] Formatting: Add formatting and texturization to author descriptions so they match the formatting of term descriptions. Props henry.wright Fixes #40040 git-svn-id: https://develop.svn.wordpress.org/trunk@41172 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/default-filters.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/default-filters.php b/src/wp-includes/default-filters.php index 8f0237028d..9212e42865 100644 --- a/src/wp-includes/default-filters.php +++ b/src/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' ) as $filter ) { +foreach ( array( 'term_description', 'get_the_author_description' ) as $filter ) { add_filter( $filter, 'wptexturize' ); add_filter( $filter, 'convert_chars' ); add_filter( $filter, 'wpautop' );