Ticket #5873: 5873.01.patch
File 5873.01.patch, 685 bytes (added by , 10 years ago) |
---|
-
src/bp-core/bp-core-functions.php
345 345 * @return array 346 346 */ 347 347 function bp_core_get_packaged_component_ids() { 348 returnarray(348 $components = array( 349 349 'activity', 350 350 'members', 351 351 'groups', … … 355 355 'messages', 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 362 369 /**