Changeset 12977
- Timestamp:
- 06/28/2021 05:05:06 PM (4 years ago)
- Location:
- branches/8.0/src/bp-xprofile/classes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/8.0/src/bp-xprofile/classes/class-bp-xprofile-field-type-wordpress-biography.php
r12872 r12977 52 52 */ 53 53 public function sanitize_for_db( $value ) { 54 if ( ! $value ) { 55 return ''; 56 } 57 54 58 return trim( $value ); 55 59 } -
branches/8.0/src/bp-xprofile/classes/class-bp-xprofile-field-type-wordpress-textbox.php
r12885 r12977 92 92 */ 93 93 public function sanitize_for_db( $value ) { 94 if ( ! $value ) { 95 return ''; 96 } 97 94 98 if ( 'user_url' === $this->wp_user_key ) { 95 99 return esc_url_raw( $value );
Note: See TracChangeset
for help on using the changeset viewer.