Skip to:
Content

bbPress.org


Ignore:
Timestamp:
12/28/2004 08:54:20 AM (21 years ago)
Author:
matt
Message:

Let's rename everything just in case.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bb-includes/default-filters.php

    r11 r18  
    11<?php
    22
    3 add_filter('forum_topics', 'number_format');
    4 add_filter('forum_posts', 'number_format');
     3bb_add_filter('forum_topics', 'number_format');
     4bb_add_filter('forum_posts', 'number_format');
    55
    6 add_filter('topic_time', 'strtotime');
    7 add_filter('topic_time', 'since');
     6bb_add_filter('topic_time', 'strtotime');
     7bb_add_filter('topic_time', 'bb_since');
    88
    9 add_filter('pre_topic_title', 'bb_specialchars');
    10 add_filter('get_forum_name', 'bb_specialchars');
     9bb_add_filter('pre_topic_title', 'bb_specialchars');
     10bb_add_filter('get_forum_name', 'bb_specialchars');
    1111
    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 atributes
    15 add_filter('pre_post', 'bb_filter_kses', 50);
    16 add_filter('pre_post', 'addslashes', 55);
    17 add_filter('pre_post', 'bb_autop', 60);
     12bb_add_filter('pre_post', 'trim');
     13bb_add_filter('pre_post', 'encode_bad');
     14bb_add_filter('pre_post', 'stripslashes', 40); // KSES doesn't like escaped atributes
     15bb_add_filter('pre_post', 'bb_filter_kses', 50);
     16bb_add_filter('pre_post', 'addslashes', 55);
     17bb_add_filter('pre_post', 'bb_autop', 60);
    1818
    19 add_filter('total_posts', 'number_format');
    20 add_filter('total_users', 'number_format');
     19bb_add_filter('total_posts', 'number_format');
     20bb_add_filter('total_users', 'number_format');
    2121
    22 add_filter('edit_text', 'code_trick_reverse');
    23 add_filter('edit_text', 'htmlspecialchars');
     22bb_add_filter('edit_text', 'code_trick_reverse');
     23bb_add_filter('edit_text', 'htmlspecialchars');
    2424
    2525?>
Note: See TracChangeset for help on using the changeset viewer.