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

    r4303 r4314  
    138138            'parent_slug'     => $this->slug,
    139139            'screen_function' => 'bp_member_forums_screen_topics',
     140            'user_has_access' =>  bp_is_my_profile(),
    140141            'position'        => 20,
    141142            'item_css_id'     => 'topics'
     
    149150            'parent_slug'     => $this->slug,
    150151            'screen_function' => 'bp_member_forums_screen_replies',
     152            'user_has_access' =>  bp_is_my_profile(),
    151153            'position'        => 40,
    152154            'item_css_id'     => 'replies'
     
    161163            'parent_slug'     => $this->slug,
    162164            'screen_function' => 'bp_member_forums_screen_favorites',
     165            'user_has_access' =>  bp_is_my_profile(),
    163166            'position'        => 60,
    164167            'item_css_id'     => 'favorites'
Note: See TracChangeset for help on using the changeset viewer.