Make WordPress Core


Ignore:
Timestamp:
01/15/2018 12:09:39 AM (8 years ago)
Author:
dd32
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, peterwilsoncc.
Merges [42441] to the 4.9 branch.
Fixes #42578.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-includes/default-filters.php

    r41978 r42445  
    115115
    116116// Format text area for display.
    117 foreach ( array( 'term_description', 'get_the_author_description', 'get_the_post_type_description' ) as $filter ) {
     117foreach ( array( 'term_description', 'get_the_post_type_description' ) as $filter ) {
    118118    add_filter( $filter, 'wptexturize'      );
    119119    add_filter( $filter, 'convert_chars'    );
Note: See TracChangeset for help on using the changeset viewer.