Ticket #6013: 6013.groups_get_group_members.patch
| File 6013.groups_get_group_members.patch, 699 bytes (added by , 11 years ago) |
|---|
-
src/bp-groups/bp-groups-functions.php
531 531 'type' => 'last_joined', 532 532 ) ); 533 533 534 // querystring 'false' values need to be explicitly cast as a false value 535 // @see https://buddypress.trac.wordpress.org/ticket/6013 536 if ( is_string( $r['exclude_banned'] ) && 'false' === $r['exclude_banned'] ) { 537 $r['exclude_banned'] = 0; 538 } 539 534 540 // For legacy users. Use of BP_Groups_Member::get_all_for_group() 535 541 // is deprecated. func_get_args() can't be passed to a function in PHP 536 542 // 5.2.x, so we create a variable