Changeset 856
- Timestamp:
- 01/16/2009 09:17:49 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums/bp-forums-filters.php
r812 r856 27 27 add_filter( 'bp_the_topic_latest_post_excerpt', 'bp_forums_filter_decode' ); 28 28 29 function bp_forums_add_allowed_tags( $allowedtags ) { 30 $allowedtags['p'] = array(); 31 $allowedtags['br'] = array(); 32 33 return $allowedtags; 34 } 35 add_filter( 'edit_allowedtags', 'bp_forums_add_allowed_tags' ); 36 37 29 38 function bp_forums_filter_encode( $content ) { 30 39 $content = htmlentities( $content, ENT_COMPAT, "UTF-8" );
Note: See TracChangeset
for help on using the changeset viewer.