~canonical-sysadmins/wordpress/4.9.2

« back to all changes in this revision

Viewing changes to wp-includes/default-filters.php

  • Committer: axino
  • Date: 2018-01-25 07:47:10 UTC
  • Revision ID: axino@canonical.com-20180125074710-0m0j5dc8ldu3ou9t
update to wordpress 4.9.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
}
115
115
 
116
116
// Format text area for display.
117
 
foreach ( array( 'term_description', 'get_the_author_description', 'get_the_post_type_description' ) as $filter ) {
 
117
foreach ( array( 'term_description', 'get_the_post_type_description' ) as $filter ) {
118
118
        add_filter( $filter, 'wptexturize'      );
119
119
        add_filter( $filter, 'convert_chars'    );
120
120
        add_filter( $filter, 'wpautop'          );