Changeset 4604 for trunk/includes/core/filters.php
- Timestamp:
- 12/20/2012 12:59:10 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/core/filters.php
r4522 r4604 95 95 add_filter( 'bbp_new_reply_pre_content', 'balanceTags' ); 96 96 add_filter( 'bbp_new_reply_pre_content', 'wp_rel_nofollow' ); 97 add_filter( 'bbp_new_reply_pre_content', ' wp_filter_kses');97 add_filter( 'bbp_new_reply_pre_content', 'bbp_filter_kses' ); 98 98 add_filter( 'bbp_new_topic_pre_content', 'balanceTags' ); 99 99 add_filter( 'bbp_new_topic_pre_content', 'wp_rel_nofollow' ); 100 add_filter( 'bbp_new_topic_pre_content', ' wp_filter_kses');100 add_filter( 'bbp_new_topic_pre_content', 'bbp_filter_kses' ); 101 101 add_filter( 'bbp_edit_reply_pre_content', 'balanceTags' ); 102 102 add_filter( 'bbp_edit_reply_pre_content', 'wp_rel_nofollow' ); 103 add_filter( 'bbp_edit_reply_pre_content', ' wp_filter_kses');103 add_filter( 'bbp_edit_reply_pre_content', 'bbp_filter_kses' ); 104 104 add_filter( 'bbp_edit_topic_pre_content', 'balanceTags' ); 105 105 add_filter( 'bbp_edit_topic_pre_content', 'wp_rel_nofollow' ); 106 add_filter( 'bbp_edit_topic_pre_content', ' wp_filter_kses');106 add_filter( 'bbp_edit_topic_pre_content', 'bbp_filter_kses' ); 107 107 108 108 // No follow and stripslashes on user profile links … … 154 154 // Run wp_kses_data on topic/reply content in admin section 155 155 if ( is_admin() ) { 156 add_filter( 'bbp_get_reply_content', ' wp_kses_data' );157 add_filter( 'bbp_get_topic_content', ' wp_kses_data' );156 add_filter( 'bbp_get_reply_content', 'bbp_kses_data' ); 157 add_filter( 'bbp_get_topic_content', 'bbp_kses_data' ); 158 158 159 159 // Revisions (only when not in admin)
Note: See TracChangeset
for help on using the changeset viewer.