Skip to:
Content

BuddyPress.org

Changeset 1718 for trunk/bp-friends.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-friends.php

    r1705 r1718  
    4848    $bp->friends->slug = BP_FRIENDS_SLUG;
    4949
     50    /* Register this in the active components array */
     51    $bp->active_components[$bp->friends->slug] = $bp->friends->id;
    5052}
    5153add_action( 'plugins_loaded', 'friends_setup_globals', 5 );
     
    6870   
    6971    /* 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 ) );
    7173   
    7274    $friends_link = $bp->loggedin_user->domain . $bp->friends->slug . '/';
Note: See TracChangeset for help on using the changeset viewer.