Changeset 7562 for trunk/bp-members/bp-members-actions.php
- Timestamp:
- 11/12/2013 03:14:04 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-members/bp-members-actions.php
r7228 r7562 25 25 */ 26 26 function bp_core_action_set_spammer_status( $user_id = 0 ) { 27 28 // Only super admins can currently spam users (but they can't spam 29 // themselves) 30 if ( ! is_super_admin() || bp_is_my_profile() ) { 31 return; 32 } 27 33 28 34 // Use displayed user if it's not yourself
Note: See TracChangeset
for help on using the changeset viewer.