wp-includes/SimplePie/src/IRI.php:941Set the ipath.
$ipathstring$clear_cacheoptionalfalsebool public function set_path($ipath, $clear_cache = false) { static $cache; if ($clear_cache) { $cache = null; return; } if (!$cache) { $cache = []; } $ipath = (string) $ipath; if (isset($cache[$ipath])) { $this->ipath = $cache[$ipath][(int) ($this->scheme !== null)]; } else { $valid = $this->replace_invalid_with_pct_encoding($ipath, '!$&\'()*+,;=@:/'); $removed = $this->remove_dot_segments($valid); $cache[$ipath] = [$valid, $removed]; $this->ipath = ($this->scheme !== null) ? $removed : $valid; } $this->scheme_normalization(); return true; }2 changes between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$ipath retyped from string to string|null.verified against source$clear_cache retyped from untyped to bool.verified against sourcesrc/wp-includes/SimplePie/src/IRI.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.