Changeset 6616
- Timestamp:
- 12/10/2012 04:11:07 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-template.php
r6612 r6616 728 728 // Loop through active components and look for a match 729 729 foreach ( array_keys( $bp->active_components ) as $component ) { 730 if ( !empty( $bp->{$component}->root_slug ) && ( $bp->{$component}->root_slug == $root_slug) ) {730 if ( ( !empty( $bp->{$component}->slug ) && ( $bp->{$component}->slug == $root_slug ) ) || ( !empty( $bp->{$component}->root_slug ) && ( $bp->{$component}->root_slug == $root_slug ) ) ) { 731 731 return $bp->{$component}->name; 732 732 }
Note: See TracChangeset
for help on using the changeset viewer.