Changeset 5314 for trunk/bp-core/bp-core-catchuri.php
- Timestamp:
- 11/08/2011 09:47:08 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-catchuri.php
r5305 r5314 34 34 35 35 // Create global component, action, and item variables 36 $bp->current_component = $bp->current_ action = $bp->current_item ='';37 $bp-> action_variables = $bp->displayed_user->id= '';36 $bp->current_component = $bp->current_item = ''; 37 $bp->current_action = $bp->action_variables = ''; 38 38 39 39 // Don't catch URIs on non-root blogs unless multiblog mode is on … … 257 257 if ( bp_displayed_user_id() && bp_is_user_spammer( bp_displayed_user_id() ) ) { 258 258 if ( is_super_admin() ) { 259 bp_core_add_message( __( 'This user has been marked as a spammer. Only site admins can view this profile.', 'buddypress' ), ' error' );259 bp_core_add_message( __( 'This user has been marked as a spammer. Only site admins can view this profile.', 'buddypress' ), 'warning' ); 260 260 } else { 261 261 bp_do_404();
Note: See TracChangeset
for help on using the changeset viewer.