Skip to:
Content

BuddyPress.org

Changeset 1718 for trunk/bp-activity.php


Ignore:
Timestamp:
08/27/2009 09:18:10 PM (17 years ago)
Author:
apeatling
Message:

Fixes #723

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity.php

    r1707 r1718  
    6060        $bp->activity->table_name = $wpdb->base_prefix . 'bp_activity_user_activity_cached';
    6161        $bp->activity->slug = BP_ACTIVITY_SLUG;
     62       
     63        /* Register this in the active components array */
     64        $bp->active_components[$bp->activity->slug] = $bp->activity->id;
    6265}
    6366add_action( 'plugins_loaded', 'bp_activity_setup_globals', 5 );
     
    8285
    8386        /* Add 'Activity' to the main navigation */
    84         bp_core_new_nav_item( array( 'name' => __( 'Activity', 'buddypress' ), 'slug' => $bp->activity->slug, 'position' => 10, 'screen_function' => 'bp_activity_screen_my_activity', 'default_subnav_slug' => 'just-me' ) );
     87        bp_core_new_nav_item( array( 'name' => __( 'Activity', 'buddypress' ), 'slug' => $bp->activity->slug, 'position' => 10, 'screen_function' => 'bp_activity_screen_my_activity', 'default_subnav_slug' => 'just-me', 'item_css_id' => $bp->activity->id ) );
    8588
    8689        $activity_link = $bp->loggedin_user->domain . $bp->activity->slug . '/';
Note: See TracChangeset for help on using the changeset viewer.