From a492541c3570c2853ed8546bcbd2929b257afe84 Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Sat, 13 Jan 2018 01:11:49 +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. Fixes #42578. Built from https://develop.svn.wordpress.org/trunk@42441 git-svn-id: http://core.svn.wordpress.org/trunk@42271 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/default-filters.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/default-filters.php b/wp-includes/default-filters.php index c1f6f673e1..53f1d7b247 100644 --- a/wp-includes/default-filters.php +++ b/wp-includes/default-filters.php @@ -124,7 +124,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' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 1aa76b816f..8d6200c327 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42440'; +$wp_version = '5.0-alpha-42441'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.