[buddypress-trac] [BuddyPress Trac] #7331: display_comments=stream for bp_has_activities() doesn't work

buddypress-trac noreply at wordpress.org
Sun Nov 6 22:51:11 UTC 2016


#7331: display_comments=stream for bp_has_activities() doesn't work
--------------------------+-------------------------
 Reporter:  slaFFik       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  2.8
Component:  Activity      |    Version:
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+-------------------------
 It's rather hard to explain.

 1) Go to a group
 2) create top level activity there
 3) create 1 or 2 replies to it.
 4) Open /activity/activity-loop.php file in templates.
 5) Modify `bp_has_activities()` call to this:

 {{{
 if ( bp_has_activities( bp_ajax_querystring( 'activity' ) .
 '&display_comments=stream' ) )
 }}}

 '''Expected result:'''
 All comments (including replies) displayed in one stream, with no
 parent/child.

 '''Actual result:'''
 Only top level items are displayed.

 --

 Problems are in several places. See the 01 patch for the fix of the 1st
 one.

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


More information about the buddypress-trac mailing list