diff --git a/wp-includes/class-http.php b/wp-includes/class-http.php index e01a53a879..90e05e55be 100644 --- a/wp-includes/class-http.php +++ b/wp-includes/class-http.php @@ -1550,7 +1550,7 @@ class WP_Http_Cookie { */ function test( $url ) { // Expires - if expired then nothing else matters - if ( time() > $this->expires ) + if ( isset( $this->expires ) && time() > $this->expires ) return false; // Get details on the URL we're thinking about sending to