Changeset 55988 for trunk/src/wp-admin/includes/privacy-tools.php
- Timestamp:
- 06/22/2023 02:34:56 PM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/privacy-tools.php
r55703 r55988 276 276 $value = $group_item_datum['value']; 277 277 // If it looks like a link, make it a link. 278 if ( false === strpos( $value, ' ' ) && ( str_starts_with( $value, 'http://' ) || str_starts_with( $value, 'https://' ) ) ) {278 if ( ! str_contains( $value, ' ' ) && ( str_starts_with( $value, 'http://' ) || str_starts_with( $value, 'https://' ) ) ) { 279 279 $value = '<a href="' . esc_url( $value ) . '">' . esc_html( $value ) . '</a>'; 280 280 }
Note: See TracChangeset
for help on using the changeset viewer.