wp/wp-includes/http.php
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
--- a/wp/wp-includes/http.php	Tue Dec 15 15:52:01 2020 +0100
+++ b/wp/wp-includes/http.php	Wed Sep 21 18:19:35 2022 +0200
@@ -668,7 +668,7 @@
  */
 function wp_parse_url( $url, $component = -1 ) {
 	$to_unset = array();
-	$url      = strval( $url );
+	$url      = (string) $url;
 
 	if ( '//' === substr( $url, 0, 2 ) ) {
 		$to_unset[] = 'scheme';