Changeset 3982 for trunk/bp-activity/bp-activity-screens.php
- Timestamp:
- 02/01/2011 07:46:50 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-screens.php
r3917 r3982 114 114 115 115 if ( !$activity = $activity['activities'][0] ) 116 bp_core_redirect( $bp->root_domain);116 bp_core_redirect( bp_get_root_domain() ); 117 117 118 118 // Default access is true … … 124 124 // Activity is from a group, but groups is currently disabled 125 125 if ( !bp_is_active( 'groups') ) 126 bp_core_redirect( $bp->root_domain);126 bp_core_redirect( bp_get_root_domain() ); 127 127 128 128 // Check to see if the group is not public, if so, check the … … 156 156 is_user_logged_in() ? 157 157 bp_core_redirect( $bp->loggedin_user->domain ) : 158 bp_core_redirect( site_url( 'wp-login.php?redirect_to=' . esc_url( $bp->root_domain. '/' . $bp->activity->slug . '/p/' . $bp->current_action ) ) );158 bp_core_redirect( site_url( 'wp-login.php?redirect_to=' . esc_url( bp_get_root_domain() . '/' . $bp->activity->slug . '/p/' . $bp->current_action ) ) ); 159 159 } 160 160
Note: See TracChangeset
for help on using the changeset viewer.