- Timestamp:
- 06/02/2024 05:52:42 PM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-url.php
r13806 r13897 188 188 */ 189 189 public static function display_filter( $field_value, $field_id = '' ) { 190 $link = strip_tags( $field_value );190 $link = wp_strip_all_tags( $field_value ); 191 191 $no_scheme = preg_replace( '#^https?://#', '', rtrim( $link, '/' ) ); 192 192 $url_text = str_replace( $link, $no_scheme, $field_value );
Note: See TracChangeset
for help on using the changeset viewer.