Changeset 4440
- Timestamp:
- 05/29/2011 05:09:32 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-members/bp-members-loader.php
r4381 r4440 124 124 /** Default Profile Component *****************************************/ 125 125 if ( !defined( 'BP_DEFAULT_COMPONENT' ) ) { 126 if ( isset( $bp->pages->activity ) && isset( $bp->activity->id) )126 if ( bp_is_active( 'activity' ) && isset( $bp->pages->activity ) ) 127 127 $bp->default_component = $bp->activity->id; 128 128 else 129 $bp->default_component = $bp->profile->id; 129 $bp->default_component = ( 'xprofile' == $bp->profile->id ) ? 'profile' : $bp->profile->id; 130 130 131 } else { 131 $bp->default_component 132 $bp->default_component = BP_DEFAULT_COMPONENT; 132 133 } 133 134
Note: See TracChangeset
for help on using the changeset viewer.