WordPress.org

Make WordPress Core

Changeset 41172


Ignore:
Timestamp:
07/27/17 15:09:19 (6 months ago)
Author:
johnbillion
Message:

Formatting: Add formatting and texturization to author descriptions so they match the formatting of term descriptions.

Props henry.wright

Fixes #40040

File:
1 edited

Legend:

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

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