Changeset 5329 for trunk/bp-xprofile/bp-xprofile-actions.php
- Timestamp:
- 11/14/2011 05:19:12 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-actions.php
r5301 r5329 30 30 check_admin_referer( 'bp_delete_avatar_link' ); 31 31 32 if ( !bp_is_my_profile() && ! is_super_admin() )32 if ( !bp_is_my_profile() && !bp_current_user_can( 'bp_moderate' ) ) 33 33 return false; 34 34
Note: See TracChangeset
for help on using the changeset viewer.