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

buddypress-trac noreply at wordpress.org
Fri Sep 12 18:20:40 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        |   Keywords:  has-patch
--------------------------+-----------------------
 If you enable the bbPress plugin and navigate to a user's "Forums" page,
 you'll notice that the subnav is missing (Topics Started, Replies Created,
 Favorites, Subscriptions).

 The issue is the addition of the `bp_core_get_packaged_component_ids()`
 function, which is used in `bp_is_current_component_core()` and then used
 in the `/members/single/plugins.php` template for subnav rendering checks.

 The 'forums' ID references the legacy forums component.  However, the
 `'forums'` ID is also used by the bbPress plugin when registering its BP
 component.

 Attached patch checks to see if the legacy forums component is enabled
 using `class_exists()`.  If it is enabled, we add the 'forums' ID back in.

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


More information about the buddypress-trac mailing list