Changeset 55990 for trunk/src/wp-includes/http.php
- Timestamp:
- 06/22/2023 02:55:47 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/http.php
r55694 r55990 695 695 $url = (string) $url; 696 696 697 if ( '//' === substr( $url, 0, 2) ) {697 if ( str_starts_with( $url, '//' ) ) { 698 698 $to_unset[] = 'scheme'; 699 699 $url = 'placeholder:' . $url; 700 } elseif ( '/' === substr( $url, 0, 1) ) {700 } elseif ( str_starts_with( $url, '/' ) ) { 701 701 $to_unset[] = 'scheme'; 702 702 $to_unset[] = 'host';
Note: See TracChangeset
for help on using the changeset viewer.