[buddypress-trac] [BuddyPress Trac] #7529: Groups member loop missing bp_parse_args
buddypress-trac
noreply at wordpress.org
Fri May 26 20:10:05 UTC 2017
#7529: Groups member loop missing bp_parse_args
--------------------------+-----------------------------
Reporter: modemlooper | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: Awaiting Review
Component: Members | Version: 2.8.2
Severity: normal | Keywords:
--------------------------+-----------------------------
https://buddypress.trac.wordpress.org/browser/trunk/src/bp-groups/bp-
groups-template.php#L3887
its still using wp_parse_args
No way to filter loop with.
bp_before_{filter}_parse_args
example:
{{{
$r = bp_parse_args( $args, array(
'group_id' => bp_get_current_group_id(),
'page' => 1,
'per_page' => 20,
'max' => false,
'exclude' => false,
'exclude_admins_mods' => $exclude_admins_mods,
'exclude_banned' => 1,
'group_role' => false,
'search_terms' => $search_terms_default,
'type' => 'last_joined',
), 'has_group_members' );
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7529>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list