mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-03 14:17:06 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@42441 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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' );
|
||||
|
||||
Reference in New Issue
Block a user