Changeset 3592 for trunk/bp-core.php
- Timestamp:
- 12/27/2010 10:57:31 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/bp-core.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core.php
r3566 r3592 483 483 484 484 $wpdb->update( $wpdb->users, array( 'user_status' => $is_spam ), array( 'ID' => $bp->displayed_user->id ) ); 485 485 486 486 if ( $is_spam ) 487 487 bp_core_add_message( __( 'User marked as spammer. Spam users are visible only to site admins.', 'buddypress' ) ); … … 492 492 if ( $is_spam && function_exists( 'bp_activity_hide_user_activity' ) ) 493 493 bp_activity_hide_user_activity( $bp->displayed_user->id ); 494 494 495 495 // We need a special hook for is_spam so that components can delete data at spam time 496 496 if ( $is_spam ) … … 2005 2005 * hook in to. 2006 2006 */ 2007 2007 2008 2008 /** 2009 2009 * bp_include()
Note: See TracChangeset
for help on using the changeset viewer.