[buddypress-trac] [BuddyPress Trac] #5592: Can not retrieve a specific activity comment.

buddypress-trac noreply at wordpress.org
Fri Apr 25 16:20:05 UTC 2014


#5592: Can not retrieve a specific activity comment.
--------------------------+------------------------------
 Reporter:  godavid33     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  Awaiting Review
Component:  Core          |     Version:  2.0
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by godavid33):

 The following works as a temporary fix to get the parent thread ID of an
 activity comment

 $act_item = $wpdb->get_results("SELECT * FROM wp_bp_activity WHERE id =
 ACTIVITY_COMMENT_ID")
 $act_item[0]->item_id

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


More information about the buddypress-trac mailing list