WordPress.org

Make WordPress Core

Ticket #42578: 42578.2.diff

File 42578.2.diff, 663 bytes (added by 0x6f0, 2 years ago)
  • src/wp-includes/default-filters.php

    diff --git a/src/wp-includes/default-filters.php b/src/wp-includes/default-filters.php
    index a7c732f..8b2b4f5 100644
    a b foreach ( array( 'single_post_title', 'single_cat_title', 'single_tag_title', 's 
    124124}
    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' );
    130130        add_filter( $filter, 'wpautop' );