wp-includes/SimplePie/src/SimplePie.php:2302Sanitize feed data
$datastring$typeint$basestringoptional''string public function sanitize($data, $type, $base = '') { try { return $this->sanitize->sanitize($data, $type, $base); } catch (\SimplePie\Exception $e) { if (!$this->enable_exceptions) { $this->error = $e->getMessage(); $this->registry->call(Misc::class, 'error', [$this->error, E_USER_WARNING, $e->getFile(), $e->getLine()]); return ''; } throw $e; } }One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$type retyped from int to SimplePie\int-mask-of<SimplePie::CONSTRUCT_*>.verified against sourcesrc/wp-includes/SimplePie/src/SimplePie.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.