Make WordPress Core


Ignore:
Timestamp:
01/13/2018 01:10:56 AM (8 years ago)
Author:
peterwilsoncc
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/default-filters.php

    r42401 r42441  
    125125
    126126// Format text area for display.
    127 foreach ( array( 'term_description', 'get_the_author_description', 'get_the_post_type_description' ) as $filter ) {
     127foreach ( array( 'term_description', 'get_the_post_type_description' ) as $filter ) {
    128128    add_filter( $filter, 'wptexturize' );
    129129    add_filter( $filter, 'convert_chars' );
Note: See TracChangeset for help on using the changeset viewer.