wp-includes/SimplePie/src/Locator.php:73$fileSimplePie\File$timeoutoptional10$useragentoptionalnull$max_checked_feedsoptional10$force_fsockopenoptionalfalse$curl_optionsoptional[] public function __construct(\SimplePie\File $file, $timeout = 10, $useragent = null, $max_checked_feeds = 10, $force_fsockopen = false, $curl_options = []) { $this->file = $file; $this->useragent = $useragent; $this->timeout = $timeout; $this->max_checked_feeds = $max_checked_feeds; $this->force_fsockopen = $force_fsockopen; $this->curl_options = $curl_options; if (class_exists('DOMDocument') && $this->file->body != '') { $this->dom = new \DOMDocument(); set_error_handler(['SimplePie\Misc', 'silence_errors']); try { $this->dom->loadHTML($this->file->body); } catch (\Throwable $ex) { $this->dom = null; } restore_error_handler(); } else { $this->dom = null; } }5 changes between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$timeout retyped from untyped to int.verified against source$useragent retyped from untyped to ?string.verified against source$max_checked_feeds retyped from untyped to int.verified against source$force_fsockopen retyped from untyped to bool.verified against source$curl_options retyped from untyped to array.verified against sourcesrc/wp-includes/SimplePie/src/Locator.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.