[buddypress-trac] [BuddyPress] #4058: Updating bp_latest_update uses wp_filter_kses hard coded

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Mar 1 12:25:30 UTC 2012


#4058: Updating bp_latest_update uses wp_filter_kses hard coded
--------------------------------------+------------------------------
 Reporter:  wpdennis                  |       Owner:
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Activity                  |     Version:  1.5.4
 Severity:  normal                    |  Resolution:
 Keywords:  2nd-opinion dev-feedback  |
--------------------------------------+------------------------------

Comment (by wpdennis):

 And remove the hard coded call to "wp_filter_kses" in line '''887''', not
 854:


 {{{
 bp_update_user_meta( $bp->loggedin_user->id, 'bp_latest_update', array(
 'id' => $activity_id, 'content' => wp_filter_kses( $content ) ) );
 }}}

 to


 {{{
 bp_update_user_meta( $bp->loggedin_user->id, 'bp_latest_update', array(
 'id' => $activity_id, 'content' => $content ) );
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4058#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list