updated plugin W3 Total Cache version 2.3.3

This commit is contained in:
2023-06-28 12:45:56 +00:00
committed by Gitium
parent 7d5eef77cf
commit aa3da0eb92
129 changed files with 17998 additions and 186 deletions

View File

@ -445,12 +445,12 @@ class soap_transport_http extends nusoap_base {
* @param string $data message data
* @param integer $timeout set connection timeout in seconds
* @param integer $response_timeout set response timeout in seconds
* @param array $cookies cookies to send
* @param array $cookies cookies to send (6/12/2023 Made not required to prevent PHP error/warning for required following optional)
* @return string data
* @access public
* @deprecated
*/
function sendHTTPS($data, $timeout=0, $response_timeout=30, $cookies) {
function sendHTTPS($data, $timeout=0, $response_timeout=30, $cookies=array()) {
return $this->send($data, $timeout, $response_timeout, $cookies);
}

View File

@ -2598,12 +2598,12 @@ class soap_transport_http extends nusoap_base {
* @param string $data message data
* @param integer $timeout set connection timeout in seconds
* @param integer $response_timeout set response timeout in seconds
* @param array $cookies cookies to send
* @param array $cookies cookies to send (6/12/2023 Made not required to prevent PHP error/warning for required following optional)
* @return string data
* @access public
* @deprecated
*/
function sendHTTPS($data, $timeout=0, $response_timeout=30, $cookies) {
function sendHTTPS($data, $timeout=0, $response_timeout=30, $cookies=array()) {
return $this->send($data, $timeout, $response_timeout, $cookies);
}

View File

@ -1367,7 +1367,7 @@ class CFRuntime
if (strpos($headers['_info']['url'], 'monitoring.') !== false)
{
// CloudWatchWatch incorrectly does nothing when they say deflate.
continue;
break; //(6/12/2023 Changed from continue to break to prevent PHP error/warning for required following optional)
}
else
{
@ -1387,7 +1387,7 @@ class CFRuntime
if (strpos($headers['_info']['url'], 'monitoring.') !== false)
{
// CloudWatchWatch incorrectly does nothing when they say br.
continue;
break; //(6/12/2023 Changed from continue to break to prevent PHP error/warning for required following optional)
}
else
{

View File

@ -82,12 +82,12 @@ class CFSimpleXML extends SimpleXMLIterator
*
* @param string $data (Required) A well-formed XML string or the path or URL to an XML document if $data_is_url is <code>true</code>.
* @param integer $options (Optional) Used to specify additional LibXML parameters. The default value is <code>0</code>.
* @param boolean $data_is_url (Optional) Specify a value of <code>true</code> to specify that data is a path or URL to an XML document instead of string data. The default value is <code>false</code>.
* @param string $ns (Optional) The XML namespace to return values for.
* @param boolean $data_is_url (Optional) Specify a value of <code>true</code> to specify that data is a path or URL to an XML document instead of string data. The default value is <code>false</code>. (6/12/2023 Made not required to prevent PHP error/warning for required following optional)
* @param string $ns (Optional) The XML namespace to return values for. (6/12/2023 Made not required to prevent PHP error/warning for required following optional)
* @param boolean $is_prefix (Optional) (No description provided by PHP.net.)
* @return CFSimpleXML Creates a new <CFSimpleXML> element.
*/
public static function init($data, $options = 0, $data_is_url, $ns, $is_prefix = false)
public static function init($data, $options = 0, $data_is_url=false, $ns='', $is_prefix = false)
{
if (version_compare(PHP_VERSION, '5.3.0', '<'))
{