Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Embedded video in forums and streams


Chris Billett
Participant

@chris-billett-2

That said, I added this to my bp-activity-filters.php and bp-forums-filters.php files to test, and still have nothing:

$activity_allowedtags['object'] = array();

$activity_allowedtags['param'] = array();

$activity_allowedtags['embed'] = array();

(All was added between:

function bp_forums_filter_kses( $content ) {

global $allowedtags;

$forums_allowedtags = $allowedtags;

… and:

$forums_allowedtags = apply_filters( 'bp_forums_allowed_tags', $forums_allowedtags );

return wp_kses( $content, $forums_allowedtags );

}

… with all the other tags of course.

Skip to toolbar