Changeset 12426 for trunk/src/bp-groups/classes/class-bp-groups-group.php
- Timestamp:
- 08/08/2019 08:11:51 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/classes/class-bp-groups-group.php
r12326 r12426 1047 1047 global $wpdb; 1048 1048 1049 $function_args = func_get_args(); 1050 1049 1051 // Backward compatibility with old method of passing arguments. 1050 if ( ! is_array( $args ) || func_num_args() > 1 ) {1052 if ( ! is_array( $args ) || count( $function_args ) > 1 ) { 1051 1053 _deprecated_argument( __METHOD__, '1.7', sprintf( __( 'Arguments passed to %1$s should be in an associative array. See the inline documentation at %2$s for more details.', 'buddypress' ), __METHOD__, __FILE__ ) ); 1052 1054 … … 1063 1065 ); 1064 1066 1065 $args = bp_core_parse_args_array( $old_args_keys, func_get_args());1067 $args = bp_core_parse_args_array( $old_args_keys, $function_args ); 1066 1068 } 1067 1069
Note: See TracChangeset
for help on using the changeset viewer.