Changeset 5329 for trunk/bp-core/bp-core-catchuri.php
- Timestamp:
- 11/14/2011 05:19:12 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-catchuri.php
r5322 r5329 268 268 // in user is a super admin) 269 269 if ( bp_displayed_user_id() && bp_is_user_spammer( bp_displayed_user_id() ) ) { 270 if ( is_super_admin() ) {270 if ( bp_current_user_can( 'bp_moderate' ) ) { 271 271 bp_core_add_message( __( 'This user has been marked as a spammer. Only site admins can view this profile.', 'buddypress' ), 'warning' ); 272 272 } else {
Note: See TracChangeset
for help on using the changeset viewer.