Changeset 5412 for trunk/bp-groups/bp-groups-loader.php
- Timestamp:
- 11/29/2011 08:58:28 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-loader.php
r5393 r5412 165 165 166 166 if ( bp_is_groups_component() && !empty( $this->current_group ) && !bp_current_action() ) { 167 $bp->current_action = apply_filters( 'bp_groups_default_extension', defined( 'BP_GROUPS_DEFAULT_EXTENSION' ) ? BP_GROUPS_DEFAULT_EXTENSION : 'home' ); 167 $bp->current_action = apply_filters( 'bp_groups_default_extension', defined( 'BP_GROUPS_DEFAULT_EXTENSION' ) ? BP_GROUPS_DEFAULT_EXTENSION : 'home' ); 168 169 // Prepare for a redirect to the canonical URL 170 $bp->redirect_stack['base_url'] = bp_get_group_permalink( $this->current_group ); 171 $bp->redirect_stack['action'] = $bp->current_action; 168 172 } 169 173
Note: See TracChangeset
for help on using the changeset viewer.