Changeset 11363 for trunk/src/bp-groups/bp-groups-functions.php
- Timestamp:
- 12/29/2016 09:24:53 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-functions.php
r11358 r11363 613 613 ); 614 614 615 $func_args = func_get_args(); 616 $args = bp_core_parse_args_array( $old_args_keys, $func_args ); 615 $args = bp_core_parse_args_array( $old_args_keys, func_get_args() ); 617 616 } 618 617 … … 629 628 ) ); 630 629 631 // For legacy users. Use of BP_Groups_Member::get_all_for_group() 632 // is deprecated. func_get_args() can't be passed to a function in PHP 633 // 5.2.x, so we create a variable. 634 $func_args = func_get_args(); 635 if ( apply_filters( 'bp_use_legacy_group_member_query', false, __FUNCTION__, $func_args ) ) { 630 // For legacy users. Use of BP_Groups_Member::get_all_for_group() is deprecated. 631 if ( apply_filters( 'bp_use_legacy_group_member_query', false, __FUNCTION__, func_get_args() ) ) { 636 632 $retval = BP_Groups_Member::get_all_for_group( $r['group_id'], $r['per_page'], $r['page'], $r['exclude_admins_mods'], $r['exclude_banned'], $r['exclude'] ); 637 633 } else {
Note: See TracChangeset
for help on using the changeset viewer.