Ticket #4242: 4242-1.patch
| File 4242-1.patch, 639 bytes (added by , 14 years ago) |
|---|
-
bp-core/bp-core-template.php
function bp_get_name_from_root_slug( $root_slug = '' ) { 716 716 717 717 // Loop through active components and look for a match 718 718 foreach ( $bp->active_components as $component => $id ) { 719 if ( !empty( $bp->{$component}->root_slug ) && ( $bp->{$component}-> root_slug == $root_slug ) ) {719 if ( !empty( $bp->{$component}->root_slug ) && ( $bp->{$component}->slug == $root_slug ) ) { 720 720 return $bp->{$component}->name; 721 721 } 722 722 }