mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-29 15:47:38 +02:00
Formatting: Add formatting and texturization to author descriptions so they match the formatting of term descriptions.
Props henry.wright Fixes #40040 Built from https://develop.svn.wordpress.org/trunk@41172 git-svn-id: http://core.svn.wordpress.org/trunk@41012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fb515a8a63
commit
01e64d9ed0
@ -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' );
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.9-alpha-41171';
|
||||
$wp_version = '4.9-alpha-41172';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user