Changeset 2128 for trunk/bp-core.php
- Timestamp:
- 11/25/2009 08:38:56 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-core.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core.php
r2114 r2128 132 132 133 133 /* The default component to use if none are set and someone visits: http://domain.com/members/andy */ 134 if ( defined( 'BP_XPROFILE_SLUG' ) ) 135 $bp->default_component = BP_XPROFILE_SLUG; 136 else 137 $bp->default_component = 'profile'; 134 if ( !defined( 'BP_DEFAULT_COMPONENT' ) ) { 135 if ( defined( 'BP_ACTIVITY_SLUG' ) ) 136 $bp->default_component = BP_ACTIVITY_SLUG; 137 else 138 $bp->default_component = 'profile'; 139 } else { 140 $bp->default_component = BP_DEFAULT_COMPONENT; 141 } 138 142 139 143 /* Sets up the array container for the component navigation rendered by bp_get_nav() */ … … 1337 1341 $since = $newer_date - $older_date; 1338 1342 1343 /* Something went wrong with date calculation and we ended up with a negative date. */ 1339 1344 if ( 0 > $since ) 1340 return __( ' [Use GMT Timezone]', 'buddypress' );1345 return __( 'sometime', 'buddypress' ); 1341 1346 1342 1347 /**
Note: See TracChangeset
for help on using the changeset viewer.