diff --git a/src/bp-xprofile/bp-xprofile-filters.php b/src/bp-xprofile/bp-xprofile-filters.php
index a0c9481..3542cb5 100644
|
a
|
b
|
function xprofile_filter_kses( $content, $data_obj = null ) {
|
| 156 | 156 | * @since 1.2.6 |
| 157 | 157 | * |
| 158 | 158 | * @param string $field_value Field value being santized. |
| 159 | | * @param int $field_id Field ID being sanitized. |
| | 159 | * @param int $data_id Data ID being sanitized. |
| 160 | 160 | * @param bool $reserialize Whether to reserialize arrays before returning. Defaults to true. |
| 161 | 161 | * @param object|null $data_obj The BP_XProfile_ProfileData object. |
| 162 | 162 | * @return string |
| 163 | 163 | */ |
| 164 | | function xprofile_sanitize_data_value_before_save( $field_value, $field_id = 0, $reserialize = true, $data_obj = null ) { |
| | 164 | function xprofile_sanitize_data_value_before_save( $field_value, $data_id = 0, $reserialize = true, $data_obj = null ) { |
| 165 | 165 | |
| 166 | 166 | // Return if empty. |
| 167 | 167 | if ( empty( $field_value ) ) { |