Changeset 12869 for trunk/src/bp-xprofile/bp-xprofile-filters.php
- Timestamp:
- 03/22/2021 07:45:24 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-filters.php
r12806 r12869 353 353 */ 354 354 function bp_xprofile_escape_field_data( $value, $field_type, $field_id ) { 355 // Sanitization for these types is directly done into their `display_filter()` method. 356 if ( 'wp-biography' === $field_type || 'wp-textbox' === $field_type ) { 357 return $value; 358 } 359 355 360 if ( bp_xprofile_is_richtext_enabled_for_field( $field_id ) ) { 356 361 // The xprofile_filter_kses() expects a BP_XProfile_ProfileData object.
Note: See TracChangeset
for help on using the changeset viewer.