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-groups/bp-groups-loader.php

    r4211 r4314  
    217217            'parent_slug'     => $this->slug,
    218218            'screen_function' => 'groups_screen_my_groups',
     219            'user_has_access' =>  bp_is_my_profile(),
    219220            'position'        => 10,
    220221            'item_css_id'     => 'groups-my-groups'
     
    228229            'parent_slug'     => $this->slug,
    229230            'screen_function' => 'groups_screen_group_invites',
     231            'user_has_access' =>  bp_is_my_profile(),
    230232            'position'        => 30,
    231233            'user_has_access' => bp_is_my_profile()
Note: See TracChangeset for help on using the changeset viewer.