wp-includes/SimplePie/src/SimplePie.php:1197Set which class SimplePie uses for handling feed items
$classSimplePie\class-string<Item>optional\SimplePie\Item::classbool public function set_item_class(string $class = Item::class) { trigger_error(sprintf('"%s()" is deprecated since SimplePie 1.3, please use "SimplePie\SimplePie::get_registry()" instead.', __METHOD__), \E_USER_DEPRECATED); return $this->registry->register(Item::class, $class, true); }2 changes between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$class retyped from string to SimplePie\class-string<Item>.verified against sourceboolean to bool.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.