[buddypress-trac] [BuddyPress Trac] #5449: bp_has_activities - include & exclude no longer working?
buddypress-trac
noreply at wordpress.org
Thu Mar 6 21:42:28 UTC 2014
#5449: bp_has_activities - include & exclude no longer working?
--------------------------+-----------------------------
Reporter: shanebp | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Activity | Version: 1.9.2
Severity: normal | Keywords:
--------------------------+-----------------------------
In template > activity-loop.php
This:
{{{
if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&include=3'
) ):
}}}
Or this:
{{{
if ( bp_has_activities( 'include=3' ) ):
}}}
Results in this:
'Sorry, there was no activity found. Please try a different filter.'
Changing to '&exclude=3' shows all members, including user_id 3, so it is
effectively ignored.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5449>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list