Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 1 replies (of 1 total)

  • snowflakesonal
    Participant

    @snowflakesonal

    Directly modifying bp_activity_filter_kses() function in bp-activity-filters.php with the following code isn’t helping either: style tag is still getting stripped from the activity stream. Before the last Buddypress upgrade, the same code was working.

    $activity_allowedtags[‘div’] = array();
    $activity_allowedtags[‘div’][‘style’] = array();
    $activity_allowedtags[‘div’][‘style’][‘width’] = array();
    $activity_allowedtags = apply_filters( ‘bp_activity_allowed_tags’, $activity_allowedtags );

Viewing 1 replies (of 1 total)
Skip to toolbar