Changeset 18 for trunk/bb-includes/default-filters.php
- Timestamp:
- 12/28/2004 08:54:20 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/bb-includes/default-filters.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bb-includes/default-filters.php
r11 r18 1 1 <?php 2 2 3 add_filter('forum_topics', 'number_format');4 add_filter('forum_posts', 'number_format');3 bb_add_filter('forum_topics', 'number_format'); 4 bb_add_filter('forum_posts', 'number_format'); 5 5 6 add_filter('topic_time', 'strtotime');7 add_filter('topic_time', 'since');6 bb_add_filter('topic_time', 'strtotime'); 7 bb_add_filter('topic_time', 'bb_since'); 8 8 9 add_filter('pre_topic_title', 'bb_specialchars');10 add_filter('get_forum_name', 'bb_specialchars');9 bb_add_filter('pre_topic_title', 'bb_specialchars'); 10 bb_add_filter('get_forum_name', 'bb_specialchars'); 11 11 12 add_filter('pre_post', 'trim');13 add_filter('pre_post', 'encode_bad');14 add_filter('pre_post', 'stripslashes', 40); // KSES doesn't like escaped atributes15 add_filter('pre_post', 'bb_filter_kses', 50);16 add_filter('pre_post', 'addslashes', 55);17 add_filter('pre_post', 'bb_autop', 60);12 bb_add_filter('pre_post', 'trim'); 13 bb_add_filter('pre_post', 'encode_bad'); 14 bb_add_filter('pre_post', 'stripslashes', 40); // KSES doesn't like escaped atributes 15 bb_add_filter('pre_post', 'bb_filter_kses', 50); 16 bb_add_filter('pre_post', 'addslashes', 55); 17 bb_add_filter('pre_post', 'bb_autop', 60); 18 18 19 add_filter('total_posts', 'number_format');20 add_filter('total_users', 'number_format');19 bb_add_filter('total_posts', 'number_format'); 20 bb_add_filter('total_users', 'number_format'); 21 21 22 add_filter('edit_text', 'code_trick_reverse');23 add_filter('edit_text', 'htmlspecialchars');22 bb_add_filter('edit_text', 'code_trick_reverse'); 23 bb_add_filter('edit_text', 'htmlspecialchars'); 24 24 25 25 ?>
Note: See TracChangeset
for help on using the changeset viewer.