[buddypress-trac] [BuddyPress Trac] #6155: bp_core_get_active_member_count() multisite query does not exclude 'spam' status
buddypress-trac
noreply at wordpress.org
Thu Jan 22 16:12:34 UTC 2015
#6155: bp_core_get_active_member_count() multisite query does not exclude 'spam'
status
--------------------------------------------+------------------
Reporter: johnjamesjacoby | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.3
Component: Members | Version:
Severity: normal | Resolution:
Keywords: needs-testing needs-unit-tests |
--------------------------------------------+------------------
Comment (by imath):
Replying to [comment:4 johnjamesjacoby]:
> What happens if users are marked as spam in WordPress multisite but not
via BuddyPress? Does the user_status change to 1 also?
In multisite, BuddyPress is adding a row action "Spam/Unspam" that uses
{{{bp_core_process_spammer_status()}}}.
In network Administration, WordPress is adding 2 bulk actions
"Spam/Unspam" that uses {{{update_user_status()}}}. We're hooking it using
{{{''make_spam_user'}}} and {{{''make_ham_user'}}} so that it passes in
{{{bp_core_process_spammer_status()}}}.
6155.02.unittests.patch is 6155.unittests.patch + a unit tests for multite
bulk spam action.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6155#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list