Changeset 5901
- Timestamp:
- 03/11/2012 03:31:35 PM (13 years ago)
- Location:
- trunk/bp-activity
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-filters.php
r5729 r5901 23 23 add_filter( 'bp_activity_content_before_save', 'bp_activity_filter_kses', 1 ); 24 24 add_filter( 'bp_activity_action_before_save', 'bp_activity_filter_kses', 1 ); 25 add_filter( 'bp_activity_latest_update_content', 'wp_filter_kses', 1 ); 25 26 26 27 add_filter( 'bp_get_activity_action', 'force_balance_tags' ); -
trunk/bp-activity/bp-activity-functions.php
r5729 r5901 986 986 ) ); 987 987 988 $activity_content = apply_filters( 'bp_activity_latest_update_content', $content ); 989 988 990 // Add this update to the "latest update" usermeta so it can be fetched anywhere. 989 bp_update_user_meta( bp_loggedin_user_id(), 'bp_latest_update', array( 'id' => $activity_id, 'content' => wp_filter_kses( $content )) );991 bp_update_user_meta( bp_loggedin_user_id(), 'bp_latest_update', array( 'id' => $activity_id, 'content' => $content ) ); 990 992 991 993 do_action( 'bp_activity_posted_update', $content, $user_id, $activity_id );
Note: See TracChangeset
for help on using the changeset viewer.