Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/11/2012 03:31:35 PM (13 years ago)
Author:
boonebgorges
Message:

Introduces bp_activity_latest_update_content filter, to allow the filtering of update content before it is saved to a user's latest_update usermeta.
Moves the hardcoded wp_filter_kses() filter on latest_update content to an unhookable add_filter() call.
Fixes #4058. Props wpdennis, Mamaduka

File:
1 edited

Legend:

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

    r5729 r5901  
    2323add_filter( 'bp_activity_content_before_save',       'bp_activity_filter_kses', 1 );
    2424add_filter( 'bp_activity_action_before_save',        'bp_activity_filter_kses', 1 );
     25add_filter( 'bp_activity_latest_update_content',     'wp_filter_kses', 1 );
    2526
    2627add_filter( 'bp_get_activity_action',                'force_balance_tags' );
Note: See TracChangeset for help on using the changeset viewer.