wp-includes/SimplePie/src/Registry.php:248Call a static method for a type
$typeSimplePie\class-string$methodstring$parametersarrayoptional[]mixed public function &call($type, $method, $parameters = []) { $class = $this->get_class($type); if (in_array($class, $this->legacy)) { switch ($type) { case Cache::class: // For backwards compatibility with old non-static // Cache::create() methods in PHP < 8.0. // No longer supported as of PHP 8.0. if ($method === 'get_handler') { $result = @call_user_func_array([$class, 'create'], $parameters); return $result; } break; } } $result = call_user_func_array([$class, $method], $parameters); return $result; }One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$parameters retyped from array to SimplePie\array<mixed>.verified against sourcesrc/wp-includes/SimplePie/src/Registry.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.