wp-includes/SimplePie/src/Misc.php:235$schemestringoptional''$authoritystringoptional''$pathstringoptional''$querystringoptional''$fragment?stringoptional''string public static function compress_parse_url(string $scheme = '', string $authority = '', string $path = '', string $query = '', ?string $fragment = '') { $iri = new \SimplePie\IRI(''); $iri->scheme = $scheme; $iri->authority = $authority; $iri->path = $path; $iri->query = $query; $iri->fragment = $fragment; return $iri->get_uri(); }6 changes between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$scheme retyped from untyped to string.verified against source$authority retyped from untyped to string.verified against source$path retyped from untyped to string.verified against source$query retyped from untyped to string.verified against source$fragment retyped from untyped to ?string.verified against sourcenone to string.verified against sourcesrc/wp-includes/SimplePie/src/Misc.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.