WordPress.org

Make WordPress Core

Ticket #11699: 11699.diff

File 11699.diff, 479 bytes (added by blepoxp, 8 years ago)

added default filter fixes the problem anywhere apply_filters('the_title', ... ) is called.

  • default-filters.php

     
    109109add_filter( 'the_title', 'wptexturize'   );
    110110add_filter( 'the_title', 'convert_chars' );
    111111add_filter( 'the_title', 'trim'          );
     112add_filter( 'the_title', 'strip_tags'    );
    112113
    113114add_filter( 'the_content', 'wptexturize'        );
    114115add_filter( 'the_content', 'convert_smilies'    );