[buddypress-trac] [BuddyPress] #5229: Problem with bp_core_mark_user_spam_admin

buddypress-trac noreply at wordpress.org
Tue Nov 5 11:57:24 UTC 2013

#5229: Problem with bp_core_mark_user_spam_admin
 Reporter:  j.conti       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Members       |    Version:  1.8.1
 Severity:  major         |   Keywords:
 There is a problem with this function in WordPress Multisite 3.7.1 (I
 don't now in not multisite, I don't test it)

 After a week of looking for a solution for WangGuard cron, I find the

 The problem is that bp_core_mark_user_spam_admin don't process all users
 in bulk action.

 Steps: (you don't need WangGuard).

 - You need some test user registered and with activity.
 - Go to network -> users
 - Select a user (only 1 user) and in Bulk action select "Mark as Spam"
 - All activity of that user will be removed.

 After that:

 - Now mark many users and in Bulk action select "Mark as Spam"
 - All users will be marked as spam but all activity are not removed.

 So, bp_core_mark_user_spam_admin() only can precess 1 user? or is
 update_user_status with the hook make_spam_user?



Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5229>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list