Changeset 2517 for trunk/wp-includes/default-filters.php
- Timestamp:
- 04/05/2005 05:25:57 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/default-filters.php
r2341 r2517 49 49 add_filter('comment_text', 'convert_smilies', 20); 50 50 51 add_filter('comment_text_rss', 'htmlspecialchars');52 53 51 add_filter('comment_excerpt', 'convert_chars'); 54 add_filter('the_excerpt_rss', 'convert_chars');55 52 56 53 // Places to balance tags on input … … 59 56 add_filter('comment_save_pre', 'balanceTags', 50); 60 57 58 // Misc. title, content, and excerpt filters 61 59 add_filter('the_title', 'convert_chars'); 62 60 add_filter('the_title', 'trim'); 63 64 add_filter('the_title_rss', 'strip_tags');65 61 66 62 add_filter('the_content', 'convert_smilies'); … … 71 67 add_filter('the_excerpt', 'convert_chars'); 72 68 add_filter('the_excerpt', 'wpautop'); 73 74 69 add_filter('get_the_excerpt', 'wp_trim_excerpt'); 75 70 76 71 add_filter('sanitize_title', 'sanitize_title_with_dashes'); 77 72 73 // RSS filters 74 add_filter('the_title_rss', 'strip_tags'); 75 add_filter('the_title_rss', 'ent2ncr', 8); 76 add_filter('the_content_rss', 'ent2ncr', 8); 77 add_filter('the_excerpt_rss', 'convert_chars'); 78 add_filter('the_excerpt_rss', 'ent2ncr', 8); 79 add_filter('comment_author_rss', 'ent2ncr', 8); 80 add_filter('comment_text_rss', 'htmlspecialchars'); 81 add_filter('comment_text_rss', 'ent2ncr', 8); 82 add_filter('bloginfo_rss', 'ent2ncr', 8); 83 add_filter('the_author', 'ent2ncr', 8); 84 85 // Actions 78 86 add_action('publish_post', 'generic_ping'); 79 87
Note: See TracChangeset
for help on using the changeset viewer.