Ticket #1253: friends-wrong-css-id.patch
File friends-wrong-css-id.patch, 1.2 KB (added by , 14 years ago) |
---|
-
bp-friends.php
75 75 $friends_link = $bp->loggedin_user->domain . $bp->friends->slug . '/'; 76 76 77 77 /* Add the subnav items to the friends nav item */ 78 bp_core_new_subnav_item( array( 'name' => __( 'My Friends', 'buddypress' ), 'slug' => 'my-friends', 'parent_url' => $friends_link, 'parent_slug' => $bp->friends->slug, 'screen_function' => 'friends_screen_my_friends', 'position' => 10, 'item_css_id' => ' friends-my-friends' ) );78 bp_core_new_subnav_item( array( 'name' => __( 'My Friends', 'buddypress' ), 'slug' => 'my-friends', 'parent_url' => $friends_link, 'parent_slug' => $bp->friends->slug, 'screen_function' => 'friends_screen_my_friends', 'position' => 10, 'item_css_id' => 'my-friends' ) ); 79 79 bp_core_new_subnav_item( array( 'name' => __( 'Requests', 'buddypress' ), 'slug' => 'requests', 'parent_url' => $friends_link, 'parent_slug' => $bp->friends->slug, 'screen_function' => 'friends_screen_requests', 'position' => 20, 'user_has_access' => bp_is_home() ) ); 80 80 81 81 if ( $bp->current_component == $bp->friends->slug ) {