WordPress.org

Make WordPress Core

Ticket #1595: prerendering__default-filters.php.diff

File prerendering__default-filters.php.diff, 990 bytes (added by markjaquith, 10 years ago)

for WP 1.6 SVN

  • default-filters.php

     
    88add_filter('comment_text', 'wptexturize'); 
    99add_filter('single_post_title', 'wptexturize'); 
    1010add_filter('the_title', 'wptexturize'); 
    11 add_filter('the_content', 'wptexturize'); 
     11add_filter('the_content_filtered', 'wptexturize'); 
    1212add_filter('the_excerpt', 'wptexturize'); 
    1313add_filter('bloginfo', 'wptexturize'); 
    1414 
     
    5959add_filter('the_title', 'convert_chars'); 
    6060add_filter('the_title', 'trim'); 
    6161 
    62 add_filter('the_content', 'convert_smilies'); 
    63 add_filter('the_content', 'convert_chars'); 
    64 add_filter('the_content', 'wpautop'); 
     62add_filter('the_content_filtered', 'convert_smilies'); 
     63add_filter('the_content_filtered', 'convert_chars'); 
     64add_filter('the_content_filtered', 'wpautop'); 
    6565 
    6666add_filter('the_excerpt', 'convert_smilies'); 
    6767add_filter('the_excerpt', 'convert_chars');