Changeset 5329 for trunk/bp-members/bp-members-actions.php
- Timestamp:
- 11/14/2011 05:19:12 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-members/bp-members-actions.php
r5301 r5329 33 33 34 34 // Only super admins can currently spam users 35 if ( ! is_super_admin() || bp_is_my_profile() )35 if ( !bp_current_user_can( 'bp_moderate' ) || bp_is_my_profile() ) 36 36 return; 37 37 … … 123 123 global $bp; 124 124 125 if ( ! is_super_admin() || bp_is_my_profile() || !bp_displayed_user_id() )125 if ( !bp_current_user_can( 'bp_moderate' ) || bp_is_my_profile() || !bp_displayed_user_id() ) 126 126 return false; 127 127
Note: See TracChangeset
for help on using the changeset viewer.