wp-includes/SimplePie/src/SimplePie.php:1185Set which class SimplePie uses for <media:text> captions
$classstringoptional\SimplePie\Caption::classboolean public function set_caption_class($class = Caption::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(Caption::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<Caption>.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.