Changeset 10876 for trunk/src/bp-core/bp-core-buddybar.php
- Timestamp:
- 06/10/2016 02:53:53 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-buddybar.php
r10825 r10876 784 784 if ( ! $component && bp_is_active( 'groups' ) && isset( $bp->groups->nav ) ) { 785 785 if ( $bp->groups->nav->get_primary( array( 'slug' => $slug ) ) ) { 786 return bp_core_remove_nav_item( $slug, 'groups' );786 $component = 'groups'; 787 787 } 788 788 } … … 835 835 if ( ! $component && bp_is_active( 'groups' ) && isset( $bp->groups->nav ) ) { 836 836 if ( $bp->groups->nav->get_primary( array( 'slug' => $parent_slug ) ) ) { 837 return bp_core_remove_subnav_item( $slug, $parent_slug, 'groups' );837 $component = 'groups'; 838 838 } 839 839 }
Note: See TracChangeset
for help on using the changeset viewer.