Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/30/2011 02:50:09 PM (11 years ago)
Author:
djpaul
Message:

Specify user_has_access param on all items added to subnav. Fixes 3046, props sbrajesh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-friends/bp-friends-loader.php

    r4281 r4314  
    116116            'parent_slug' => $bp->friends->slug,
    117117            'screen_function' => 'friends_screen_my_friends',
     118            'user_has_access' =>  bp_is_my_profile(),
    118119            'position' => 10,
    119120            'item_css_id'     => 'friends-my-friends'
Note: See TracChangeset for help on using the changeset viewer.