[buddypress-trac] [BuddyPress Trac] #6670: The component of group activity comments is "activity"

buddypress-trac noreply at wordpress.org
Mon Oct 19 13:19:35 UTC 2015

#6670: The component of group activity comments is "activity"
 Reporter:  henry.wright          |      Owner:
     Type:  defect (bug)          |     Status:  new
 Priority:  normal                |  Milestone:  Awaiting Review
Component:  Component - Activity  |    Version:  2.3.3
 Severity:  normal                |   Keywords:
 The {{{component}}} of group activity comments seems to be "activity".
 Should this be "groups" instead?

 This is how it looks as things stand:

 $activity = new BP_Activity_Activity( $activity_id );

 // $activity_id is an activity update
 echo $activity->component // activity

 // $activity_id is an activity comment
 echo $activity->component // activity

 // $activity_id is a group activity update
 echo $activity->component // groups

 // $activity_id is a group activity comment
 echo $activity->component // activity

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

More information about the buddypress-trac mailing list