Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/03/2014 07:10:31 PM (8 years ago)
Author:
boonebgorges
Message:

Allow some HTML in the copy of the latest activity update displayed in member header

We pass the saved value through the activity-specific kses filter, which
contains a whitelist of allowed tags. This makes for a more consistent
experience.

Fixes #3374

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-filters.php

    r8251 r8351  
    2323add_filter( 'bp_activity_content_before_save',       'bp_activity_filter_kses', 1 );
    2424add_filter( 'bp_activity_action_before_save',        'bp_activity_filter_kses', 1 );
    25 add_filter( 'bp_activity_latest_update_content',     'wp_filter_kses', 1 );
     25add_filter( 'bp_activity_latest_update_content',     'bp_activity_filter_kses', 1 );
    2626
    2727add_filter( 'bp_get_activity_action',                'force_balance_tags' );
Note: See TracChangeset for help on using the changeset viewer.