Changeset 5305 for trunk/bp-core/bp-core-catchuri.php
- Timestamp:
- 11/08/2011 02:15:22 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-catchuri.php
r5301 r5305 255 255 // If the displayed user is marked as a spammer, 404 (unless logged- 256 256 // in user is a super admin) 257 if ( bp_displayed_user_id() && bp_ core_is_user_spammer( bp_displayed_user_id() ) ) {257 if ( bp_displayed_user_id() && bp_is_user_spammer( bp_displayed_user_id() ) ) { 258 258 if ( is_super_admin() ) { 259 259 bp_core_add_message( __( 'This user has been marked as a spammer. Only site admins can view this profile.', 'buddypress' ), 'error' );
Note: See TracChangeset
for help on using the changeset viewer.