Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/21/2011 01:37:15 PM (14 years ago)
Author:
johnjamesjacoby
Message:

Use component slugs in activity subnavigation items

File:
1 edited

Legend:

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

    r3786 r3800  
    114114            bp_core_new_subnav_item( array(
    115115                'name'            => __( 'Friends', 'buddypress' ),
    116                 'slug'            => BP_FRIENDS_SLUG,
     116                'slug'            => $bp->friends->slug,
    117117                'parent_url'      => $activity_link,
    118118                'parent_slug'     => $this->slug,
     
    127127            bp_core_new_subnav_item( array(
    128128                'name'            => __( 'Groups', 'buddypress' ),
    129                 'slug'            => BP_GROUPS_SLUG,
     129                'slug'            => $bp->groups->slug,
    130130                'parent_url'      => $activity_link,
    131131                'parent_slug'     => $this->slug,
Note: See TracChangeset for help on using the changeset viewer.