Changeset 5329 for trunk/bp-xprofile/bp-xprofile-screens.php
- Timestamp:
- 11/14/2011 05:19:12 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-screens.php
r5301 r5329 33 33 global $bp; 34 34 35 if ( !bp_is_my_profile() && ! is_super_admin() )35 if ( !bp_is_my_profile() && !bp_current_user_can( 'bp_moderate' ) ) 36 36 return false; 37 37 … … 132 132 global $bp; 133 133 134 if ( !bp_is_my_profile() && ! is_super_admin() )134 if ( !bp_is_my_profile() && !bp_current_user_can( 'bp_moderate' ) ) 135 135 return false; 136 136
Note: See TracChangeset
for help on using the changeset viewer.