[buddypress-trac] [BuddyPress] #4600: children of activity comments not populated with BP_Activity_Activity::get()
buddypress-trac
noreply at wordpress.org
Wed Oct 24 00:02:06 UTC 2012
#4600: children of activity comments not populated with
BP_Activity_Activity::get()
--------------------------+-----------------------
Reporter: sboisvert | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 1.7
Component: Activity | Version: 1.7
Severity: minor | Resolution:
Keywords: |
--------------------------+-----------------------
Comment (by sboisvert):
Perhaps I'm not understanding fully what you want to do, but would the
current 'display_comments' argument not achieve this currently?
{{{
// Alter the query based on whether we want to show activity item
// comments in the stream like normal comments or threaded below
// the activity.
if ( false === $display_comments || 'threaded' === $display_comments )
$where_conditions[] = "a.type != 'activity_comment'";
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4600#comment:10>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list