Changeset 5653
- Timestamp:
- 03/23/2015 11:58:12 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/extend/buddypress/loader.php
r5637 r5653 219 219 220 220 // Favorite topics 221 $sub_nav[] = array( 222 'name' => __( 'Favorites', 'bbpress' ), 223 'slug' => bbp_get_user_favorites_slug(), 224 'parent_url' => $forums_link, 225 'parent_slug' => $this->slug, 226 'screen_function' => 'bbp_member_forums_screen_favorites', 227 'position' => 60, 228 'item_css_id' => 'favorites' 229 ); 221 if ( bbp_is_favorites_active() ){ 222 $sub_nav[] = array( 223 'name' => __( 'Favorites', 'bbpress' ), 224 'slug' => bbp_get_user_favorites_slug(), 225 'parent_url' => $forums_link, 226 'parent_slug' => $this->slug, 227 'screen_function' => 'bbp_member_forums_screen_favorites', 228 'position' => 60, 229 'item_css_id' => 'favorites' 230 ); 231 } 230 232 231 233 // Subscribed topics (my profile only) 232 if ( bp_is_my_profile() ) {234 if ( bp_is_my_profile() && bbp_is_subscriptions_active() ) { 233 235 $sub_nav[] = array( 234 236 'name' => __( 'Subscriptions', 'bbpress' ),
Note: See TracChangeset
for help on using the changeset viewer.