Ticket #7599: 7599.patch
File 7599.patch, 632 bytes (added by , 7 years ago) |
---|
-
src/bp-xprofile/bp-xprofile-filters.php
288 288 */ 289 289 function xprofile_filter_pre_validate_value_by_field_type( $value, $field, $field_type_obj ) { 290 290 if ( method_exists( $field_type_obj, 'pre_validate_filter' ) ) { 291 $value = call_user_func( array( $field_type_obj, 'pre_validate_filter' ), $value );291 $value = call_user_func( array( $field_type_obj, 'pre_validate_filter' ), $value, $field->id ); 292 292 } 293 293 294 294 return $value;