Changeset 4968 for trunk/bp-core/bp-core-template.php
- Timestamp:
- 08/11/2011 09:38:00 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-template.php
r4962 r4968 680 680 // created by $bp->pages, as well as the regular slugs 681 681 } else { 682 foreach ( $bp->active_components as $ key => $id ) {682 foreach ( $bp->active_components as $id ) { 683 683 // If the $component parameter does not match the current_component, 684 684 // then move along, these are not the droids you are looking for … … 686 686 continue; 687 687 688 if ( $ key== $component ) {688 if ( $id == $component ) { 689 689 $is_current_component = true; 690 690 break;
Note: See TracChangeset
for help on using the changeset viewer.