Changeset 1718 for trunk/bp-activity.php
- Timestamp:
- 08/27/2009 09:18:10 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-activity.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity.php
r1707 r1718 60 60 $bp->activity->table_name = $wpdb->base_prefix . 'bp_activity_user_activity_cached'; 61 61 $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; 62 65 } 63 66 add_action( 'plugins_loaded', 'bp_activity_setup_globals', 5 ); … … 82 85 83 86 /* 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 ) ); 85 88 86 89 $activity_link = $bp->loggedin_user->domain . $bp->activity->slug . '/';
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)