[buddypress-trac] [BuddyPress] #4600: children of activity comments not populated with BP_Activity_Activity::get()

buddypress-trac noreply at wordpress.org
Thu Oct 18 21:54:01 UTC 2012


#4600: children of activity comments not populated with
BP_Activity_Activity::get()
--------------------------+---------------------
 Reporter:  sboisvert     |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  1.7
Component:  Activity      |     Version:
 Severity:  minor         |  Resolution:  fixed
 Keywords:                |
--------------------------+---------------------
Changes (by sboisvert):

 * cc: stboisvert@… (added)


Comment:

 Small modification to the change proposed, it seems that:
 https://buddypress.trac.wordpress.org/changeset/6410
 the line 458 is still:
 BP_Activity_Activity::get_activity_comments( $activity->id,
 $activity->mptt_left, $activity->mptt_right, $spam );
 while it should be passing the new $top_level_parent_id param like such:
 $activity_comments[$activity->id] =
 BP_Activity_Activity::get_activity_comments( $activity->id,
 $activity->mptt_left, $activity->mptt_right, $spam, $top_level_parent_id
 );

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4600#comment:3>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list