[buddypress-trac] [BuddyPress] #4735: can't delete activity where user_id is empty

buddypress-trac noreply at wordpress.org
Sat Jan 19 03:40:29 UTC 2013


#4735: can't delete activity where user_id is empty
--------------------------+---------------------
 Reporter:  magnus78      |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  low           |   Milestone:  1.7
Component:  Activity      |     Version:
 Severity:  minor         |  Resolution:  fixed
 Keywords:  needs-patch   |
--------------------------+---------------------
Changes (by boonebgorges):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 (In [6732]) Allow activity items to be deleted when the user_id key is
 empty

 Some plugins create activity items that are not attached to a specific
 user_id.
 The activity deletion request handlers (AJAX and bp-activity-actions)
 prevent
 deletion of activity items when the item's user_id value is empty. This
 changeset moves this security measure to the bp_activity_user_can_delete()
 function, so that anonymous activity items can still be deleted by item
 admins.

 Props magnus78

 Fixes #4735

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


More information about the buddypress-trac mailing list