wp-includes/SimplePie/src/Sanitize.php:202$file_classSimplePie\class-string<File>optional\SimplePie\File::class$timeoutintoptional10$useragentstringoptional''$force_fsockopenbooloptionalfalse$curl_optionsarrayoptional[]void public function pass_file_data(string $file_class = File::class, int $timeout = 10, string $useragent = '', bool $force_fsockopen = false, array $curl_options = []) { // trigger_error(sprintf('SimplePie\Sanitize::pass_file_data() is deprecated since SimplePie 1.9.0, please use "SimplePie\Sanitize::set_http_client()" instead.'), \E_USER_DEPRECATED); if ($timeout) { $this->timeout = $timeout; } if ($useragent) { $this->useragent = $useragent; } if ($force_fsockopen) { $this->force_fsockopen = $force_fsockopen; } $this->curl_options = $curl_options; // Invalidate the registered client. $this->http_client = null; }6 changes between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$curl_options added.verified against source$file_class retyped from untyped to SimplePie\class-string<File>.verified against source$timeout retyped from untyped to int.verified against source$useragent retyped from untyped to string.verified against source$force_fsockopen retyped from untyped to bool.verified against sourcenone to void.verified against sourcesrc/wp-includes/SimplePie/src/Sanitize.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.