Changeset 8831
- Timestamp:
- 08/13/2014 08:18:22 PM (10 years ago)
- Location:
- trunk/src/bp-core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-functions.php
r8830 r8831 339 339 340 340 /** 341 * Returns an array of core component s.341 * Returns an array of core component IDs. 342 342 * 343 343 * @since BuddyPress (2.1.0) … … 345 345 * @return array 346 346 */ 347 function bp_core_get_ components() {347 function bp_core_get_packaged_component_ids() { 348 348 return array( 349 349 'activity', -
trunk/src/bp-core/bp-core-template.php
r8830 r8831 1540 1540 $retval = false; 1541 1541 1542 foreach ( bp_core_get_ components() as $active_component ) {1542 foreach ( bp_core_get_packaged_component_ids() as $active_component ) { 1543 1543 if ( bp_is_current_component( $active_component ) ) { 1544 1544 $retval = true;
Note: See TracChangeset
for help on using the changeset viewer.