[buddypress-trac] [BuddyPress Trac] #5873: bp_core_get_packaged_component_ids() conflict with bbPress

buddypress-trac noreply at wordpress.org
Fri Sep 12 21:58:34 UTC 2014


#5873: bp_core_get_packaged_component_ids() conflict with bbPress
--------------------------+------------------
 Reporter:  r-a-y         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.1
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by r-a-y):

 You're right.  `bp_is_active( 'forums' )` should work.

 For some reason, I thought bbPress was registering itself as an active
 component in BP, but it's not.

 In BP Skeleton Component, we've been telling plugin devs to
 [https://github.com/boonebgorges/buddypress-skeleton-
 component/blob/master/includes/bp-example-loader.php#L78 register
 themselves into the $bp->active_components array], but
 [https://bbpress.trac.wordpress.org/browser/tags/2.5.4/includes/extend/buddypress/loader.php#L34
 bbPress doesn't do this].

 I'm okay with going with the `bp_is_active()` check, but the class check
 is more accurate.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5873#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list