Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/29/2011 08:45:28 PM (14 years ago)
Author:
djpaul
Message:

When marking a user as not a spammer, mark all their activity as not spam, too.
Also removes legacy behaviour of changing activities' hide_sitewide when marking a user as a spammer.
See #3660.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-actions.php

    r5329 r5410  
    9090        }
    9191
    92         // Hide this user's activity
    93         if ( $is_spam && bp_is_active( 'activity' ) ) {
    94             bp_activity_hide_user_activity( $user_id );
    95         }
    96 
    9792        // We need a special hook for is_spam so that components can delete data at spam time
    9893        $bp_action = $is_spam ? 'bp_make_spam_user' : 'bp_make_ham_user';
Note: See TracChangeset for help on using the changeset viewer.