Changeset 4647 for trunk/bp-friends/bp-friends-loader.php
- Timestamp:
- 07/12/2011 02:11:01 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-friends/bp-friends-loader.php
r4586 r4647 103 103 ); 104 104 105 $friends_link = trailingslashit( $bp->loggedin_user->domain . $bp->friends->slug);105 $friends_link = trailingslashit( $bp->loggedin_user->domain . bp_get_friends_slug() ); 106 106 107 107 // Add the subnav items to the friends nav item 108 108 $sub_nav[] = array( 109 'name' => __( 'Friendships', 'buddypress' ),110 'slug' => 'my-friends',111 'parent_url' => $friends_link,112 'parent_slug' => $bp->friends->slug,109 'name' => __( 'Friendships', 'buddypress' ), 110 'slug' => 'my-friends', 111 'parent_url' => $friends_link, 112 'parent_slug' => bp_get_friends_slug(), 113 113 'screen_function' => 'friends_screen_my_friends', 114 'position' => 10,114 'position' => 10, 115 115 'item_css_id' => 'friends-my-friends' 116 116 ); … … 120 120 'slug' => 'requests', 121 121 'parent_url' => $friends_link, 122 'parent_slug' => $bp->friends->slug,122 'parent_slug' => bp_get_friends_slug(), 123 123 'screen_function' => 'friends_screen_requests', 124 124 'position' => 20,
Note: See TracChangeset
for help on using the changeset viewer.