wp-includes/Requests/src/Cookie/Jar.php:177Parse all cookies from a response and attach them to the response
$responseWpOrg\Requests\Response public function before_redirect_check(Response $response) { $url = $response->url; if (!$url instanceof Iri) { $url = new Iri($url); } $cookies = Cookie::parse_from_headers($response->headers, $url); $this->cookies = array_merge($this->cookies, $cookies); $response->cookies = $this; }Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/Requests/src/Cookie/Jar.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.