Skip to:
Content

BuddyPress.org

Changeset 2128 for trunk/bp-core.php


Ignore:
Timestamp:
11/25/2009 08:38:56 PM (17 years ago)
Author:
apeatling
Message:

Activity stream commenting updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core.php

    r2114 r2128  
    132132
    133133        /* 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        }
    138142
    139143        /* Sets up the array container for the component navigation rendered by bp_get_nav() */
     
    13371341        $since = $newer_date - $older_date;
    13381342
     1343        /* Something went wrong with date calculation and we ended up with a negative date. */
    13391344        if ( 0 > $since )
    1340                 return __( '[Use GMT Timezone]', 'buddypress' );
     1345                return __( 'sometime', 'buddypress' );
    13411346
    13421347        /**
Note: See TracChangeset for help on using the changeset viewer.