modified file plugins

This commit is contained in:
2023-10-22 22:21:44 +00:00
committed by Gitium
parent c72a65abc1
commit 96c0ee892f
4817 changed files with 752216 additions and 0 deletions

View File

@ -0,0 +1,20 @@
<?php
class W3tcWpHttpException extends Exception {
private $curl_headers;
public function __construct($message, $code = 0, Exception $previous = null, $headers = null) {
if (version_compare(PHP_VERSION, '5.3', '>='))
parent::__construct($message, (int)$code, $previous);
else
parent::__construct($message, (int)$code);
$this->curl_headers = $headers;
}
public function getHeaders() {
return $this->curl_headers;
}
}