Changeset 9012 for trunk/src/bp-core/bp-core-functions.php
- Timestamp:
- 09/14/2014 10:50:01 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-functions.php
r8831 r9012 346 346 */ 347 347 function bp_core_get_packaged_component_ids() { 348 returnarray(348 $components = array( 349 349 'activity', 350 350 'members', … … 356 356 'settings', 357 357 'notifications', 358 'forums',359 358 ); 359 360 // only add legacy forums if it is enabled 361 // prevents conflicts with bbPress, which also uses the same 'forums' id 362 if ( class_exists( 'BP_Forums_Component' ) ) { 363 $components[] = 'forums'; 364 } 365 366 return $components; 360 367 } 361 368
Note: See TracChangeset
for help on using the changeset viewer.