Warning: This method has been deprecated. Use Requests_Cookie_Jar::normalize_cookie instead.
Requests_Cookie_Jar::normalizeCookie() WordPress Method
The Requests_Cookie_Jar::normalizeCookie() method is used to normalize cookie data before it is added to the jar. This is done by ensuring that all the required fields are present and that the expiry date is in the correct format.
Requests_Cookie_Jar::normalizeCookie( $cookie, $key = null ) #
Normalise cookie data into a Requests_Cookie
Return
Source
File: wp-includes/Requests/Cookie/Jar.php
public function normalizeCookie($cookie, $key = null) { return $this->normalize_cookie($cookie, $key); }
Expand full source codeCollapse full source codeView on TracView on GitHub