WordPress.org

Make WordPress Core

Ticket #14361: 14361.patch

File 14361.patch, 522 bytes (added by peaceablewhale, 5 years ago)
  • wp-includes/default-filters.php

     
    113113add_filter( 'the_title', 'wptexturize'   ); 
    114114add_filter( 'the_title', 'convert_chars' ); 
    115115add_filter( 'the_title', 'trim'          ); 
     116add_filter( 'the_title', 'esc_html'      ); 
    116117 
    117118add_filter( 'the_content', 'wptexturize'        ); 
    118119add_filter( 'the_content', 'convert_smilies'    );