Changeset 1718 for trunk/bp-friends.php
- Timestamp:
- 08/27/2009 09:18:10 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-friends.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-friends.php
r1705 r1718 48 48 $bp->friends->slug = BP_FRIENDS_SLUG; 49 49 50 /* Register this in the active components array */ 51 $bp->active_components[$bp->friends->slug] = $bp->friends->id; 50 52 } 51 53 add_action( 'plugins_loaded', 'friends_setup_globals', 5 ); … … 68 70 69 71 /* Add 'Friends' to the main navigation */ 70 bp_core_new_nav_item( array( 'name' => __('Friends', 'buddypress'), 'slug' => $bp->friends->slug, 'position' => 60, 'screen_function' => 'friends_screen_my_friends', 'default_subnav_slug' => 'my-friends' ) );72 bp_core_new_nav_item( array( 'name' => __('Friends', 'buddypress'), 'slug' => $bp->friends->slug, 'position' => 60, 'screen_function' => 'friends_screen_my_friends', 'default_subnav_slug' => 'my-friends', 'item_css_id' => $bp->friends->id ) ); 71 73 72 74 $friends_link = $bp->loggedin_user->domain . $bp->friends->slug . '/';
Note: See TracChangeset
for help on using the changeset viewer.