Version Description
- 2020-07-02 =
Fixed
- Fixed Cache Purges failing #266
Download this release
Release Info
Developer | epatryk |
Plugin | Cloudflare |
Version | 3.5.1 |
Comparing to | |
See all releases |
Code changes from version 3.5.0 to 3.5.1
- cloudflare.php +1 -1
- composer.json +1 -1
- composer.lock +1 -1
- config.js +1 -1
- readme.txt +8 -2
- src/WordPress/Hooks.php +8 -4
- src/WordPress/Proxy.php +1 -1
- vendor/autoload.php +1 -1
- vendor/composer/autoload_classmap.php +0 -22
- vendor/composer/autoload_files.php +1 -1
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +5 -27
cloudflare.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Cloudflare
|
4 |
Plugin URI: https://blog.cloudflare.com/new-wordpress-plugin/
|
5 |
Description: Cloudflare speeds up and protects your WordPress site.
|
6 |
-
Version: 3.5.
|
7 |
Author: Cloudflare, Inc.
|
8 |
License: BSD-3-Clause
|
9 |
*/
|
3 |
Plugin Name: Cloudflare
|
4 |
Plugin URI: https://blog.cloudflare.com/new-wordpress-plugin/
|
5 |
Description: Cloudflare speeds up and protects your WordPress site.
|
6 |
+
Version: 3.5.1
|
7 |
Author: Cloudflare, Inc.
|
8 |
License: BSD-3-Clause
|
9 |
*/
|
composer.json
CHANGED
@@ -29,7 +29,7 @@
|
|
29 |
"_comment": [
|
30 |
"php-compatibility-install comes from https://github.com/wimg/PHPCompatibility/issues/102#issuecomment-255778195"
|
31 |
],
|
32 |
-
"version": "3.5.
|
33 |
"config": {
|
34 |
"platform": {
|
35 |
"php": "5.6.40"
|
29 |
"_comment": [
|
30 |
"php-compatibility-install comes from https://github.com/wimg/PHPCompatibility/issues/102#issuecomment-255778195"
|
31 |
],
|
32 |
+
"version": "3.5.1",
|
33 |
"config": {
|
34 |
"platform": {
|
35 |
"php": "5.6.40"
|
composer.lock
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
5 |
"This file is @generated automatically"
|
6 |
],
|
7 |
-
"content-hash": "
|
8 |
"packages": [
|
9 |
{
|
10 |
"name": "cloudflare/cf-ip-rewrite",
|
4 |
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
5 |
"This file is @generated automatically"
|
6 |
],
|
7 |
+
"content-hash": "b6064d5a27568081be9ea69c5d8bc3e7",
|
8 |
"packages": [
|
9 |
{
|
10 |
"name": "cloudflare/cf-ip-rewrite",
|
config.js
CHANGED
@@ -25,5 +25,5 @@
|
|
25 |
},
|
26 |
"locale": "en",
|
27 |
"integrationName": "wordpress",
|
28 |
-
"version": "3.5.
|
29 |
}
|
25 |
},
|
26 |
"locale": "en",
|
27 |
"integrationName": "wordpress",
|
28 |
+
"version": "3.5.1"
|
29 |
}
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: icyapril, manatarms, thillcf, deuill, epatryk
|
|
3 |
Tags: cloudflare, seo, ssl, ddos, speed, security, cdn, performance, free
|
4 |
Requires at least: 3.4
|
5 |
Tested up to: 5.2.2
|
6 |
-
Stable tag: 3.5.
|
7 |
License: BSD-3-Clause
|
8 |
|
9 |
All of Cloudflare’s performance and security benefits in a simple one-click install of recommended settings specifically developed for WordPress.
|
@@ -86,6 +86,12 @@ Yes, Cloudflare works with, and helps speed up your site even more, if you have
|
|
86 |
|
87 |
== Changelog ==
|
88 |
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
= 3.5.0 - 2020-06-26 =
|
90 |
|
91 |
*Fixed*
|
@@ -106,7 +112,7 @@ Yes, Cloudflare works with, and helps speed up your site even more, if you have
|
|
106 |
*Fixed*
|
107 |
|
108 |
* Updated list of contributors.
|
109 |
-
* Updated tested
|
110 |
|
111 |
= 3.4.0 - 2019-08-29 =
|
112 |
|
3 |
Tags: cloudflare, seo, ssl, ddos, speed, security, cdn, performance, free
|
4 |
Requires at least: 3.4
|
5 |
Tested up to: 5.2.2
|
6 |
+
Stable tag: 3.5.1
|
7 |
License: BSD-3-Clause
|
8 |
|
9 |
All of Cloudflare’s performance and security benefits in a simple one-click install of recommended settings specifically developed for WordPress.
|
86 |
|
87 |
== Changelog ==
|
88 |
|
89 |
+
= 3.5.1 - 2020-07-02 =
|
90 |
+
|
91 |
+
*Fixed*
|
92 |
+
|
93 |
+
* Fixed Cache Purges failing [#266](https://github.com/cloudflare/Cloudflare-WordPress/issues/266)
|
94 |
+
|
95 |
= 3.5.0 - 2020-06-26 =
|
96 |
|
97 |
*Fixed*
|
112 |
*Fixed*
|
113 |
|
114 |
* Updated list of contributors.
|
115 |
+
* Updated tested WordPress version to latest (5.2.2).
|
116 |
|
117 |
= 3.4.0 - 2019-08-29 =
|
118 |
|
src/WordPress/Hooks.php
CHANGED
@@ -157,11 +157,15 @@ class Hooks
|
|
157 |
$zoneTag = $this->api->getZoneTag($wpDomain);
|
158 |
|
159 |
if (isset($zoneTag) && !empty($urls)) {
|
160 |
-
$
|
161 |
|
162 |
-
$
|
163 |
-
|
164 |
-
|
|
|
|
|
|
|
|
|
165 |
}
|
166 |
}
|
167 |
}
|
157 |
$zoneTag = $this->api->getZoneTag($wpDomain);
|
158 |
|
159 |
if (isset($zoneTag) && !empty($urls)) {
|
160 |
+
$chunks = array_chunk($urls, 30);
|
161 |
|
162 |
+
foreach ($chunks as $chunk) {
|
163 |
+
$isOK = $this->api->zonePurgeFiles($zoneTag, $chunk);
|
164 |
+
|
165 |
+
$isOK = ($isOK) ? 'succeeded' : 'failed';
|
166 |
+
$this->logger->debug("List of URLs purged are: " . print_r($chunk, true));
|
167 |
+
$this->logger->debug("purgeCacheByRevelantURLs " . $isOK);
|
168 |
+
}
|
169 |
}
|
170 |
}
|
171 |
}
|
src/WordPress/Proxy.php
CHANGED
@@ -70,7 +70,7 @@ class Proxy
|
|
70 |
}
|
71 |
}
|
72 |
|
73 |
-
//die is how
|
74 |
wp_die(json_encode($response));
|
75 |
}
|
76 |
|
70 |
}
|
71 |
}
|
72 |
|
73 |
+
//die is how WordPress ajax keeps the rest of the app from loading during an ajax request
|
74 |
wp_die(json_encode($response));
|
75 |
}
|
76 |
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit6f7979399f910d16693a25d8ea59cb8f::getLoader();
|
vendor/composer/autoload_classmap.php
CHANGED
@@ -18,11 +18,6 @@ return array(
|
|
18 |
'CF\\API\\Plugin' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/API/Plugin.php',
|
19 |
'CF\\API\\PluginRoutes' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/API/PluginRoutes.php',
|
20 |
'CF\\API\\Request' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/API/Request.php',
|
21 |
-
'CF\\API\\Test\\AbstractAPIClientTest' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Test/API/AbstractAPIClientTest.php',
|
22 |
-
'CF\\API\\Test\\AbstractPluginActionsTest' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Test/API/AbstractPluginActionsTest.php',
|
23 |
-
'CF\\API\\Test\\ClientTest' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Test/API/ClientTest.php',
|
24 |
-
'CF\\API\\Test\\DefaultHttpClientTest' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Test/API/DefaultHttpClientTest.php',
|
25 |
-
'CF\\API\\Test\\HostTest' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Test/API/HostTest.php',
|
26 |
'CF\\DNSRecord' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/DNSRecord.php',
|
27 |
'CF\\Integration\\ConfigInterface' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Integration/ConfigInterface.php',
|
28 |
'CF\\Integration\\DataStoreInterface' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Integration/DataStoreInterface.php',
|
@@ -31,22 +26,10 @@ return array(
|
|
31 |
'CF\\Integration\\DefaultLogger' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Integration/DefaultLogger.php',
|
32 |
'CF\\Integration\\IntegrationAPIInterface' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Integration/IntegrationAPIInterface.php',
|
33 |
'CF\\Integration\\IntegrationInterface' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Integration/IntegrationInterface.php',
|
34 |
-
'CF\\Integration\\Test\\DefaultConfigTest' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Test/Integration/DefaultConfigTest.php',
|
35 |
-
'CF\\Integration\\Test\\DefaultLoggerTest' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Test/Integration/DefaultLoggerTest.php',
|
36 |
'CF\\Router\\DefaultRestAPIRouter' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Router/DefaultRestAPIRouter.php',
|
37 |
'CF\\Router\\RequestRouter' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Router/RequestRouter.php',
|
38 |
'CF\\Router\\RouterInterface' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Router/RouterInterface.php',
|
39 |
-
'CF\\Router\\Test\\DefaultRestAPIRouterTest' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Test/Router/DefaultRestAPIRouterTest.php',
|
40 |
-
'CF\\Router\\Test\\RequestRouterTest' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Test/Router/RequestRouterTest.php',
|
41 |
'CF\\SecurityUtil' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/SecurityUtil.php',
|
42 |
-
'CF\\SecurityUtilTest' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Test/SecurityUtilTest.php',
|
43 |
-
'CF\\Test\\API\\PluginTest' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Test/API/PluginTest.php',
|
44 |
-
'CF\\Test\\WordPress\\DataStoreTest' => $baseDir . '/src/Test/WordPress/DataStoreTest.php',
|
45 |
-
'CF\\Test\\WordPress\\HooksTest' => $baseDir . '/src/Test/WordPress/HooksTest.php',
|
46 |
-
'CF\\Test\\WordPress\\PlansTest' => $baseDir . '/src/Test/WordPress/PlansTest.php',
|
47 |
-
'CF\\Test\\WordPress\\ProxyTest' => $baseDir . '/src/Test/WordPress/ProxyTest.php',
|
48 |
-
'CF\\Test\\WordPress\\UtilsTest' => $baseDir . '/src/Test/WordPress/UtilsTest.php',
|
49 |
-
'CF\\Test\\WordPress\\WordPressAPITest' => $baseDir . '/src/Test/WordPress/WordPressAPITest.php',
|
50 |
'CF\\Utils' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Utils.php',
|
51 |
'CF\\WordPress\\ClientActions' => $baseDir . '/src/WordPress/ClientActions.php',
|
52 |
'CF\\WordPress\\ClientRoutes' => $baseDir . '/src/WordPress/ClientRoutes.php',
|
@@ -58,8 +41,6 @@ return array(
|
|
58 |
'CF\\WordPress\\PluginActions' => $baseDir . '/src/WordPress/PluginActions.php',
|
59 |
'CF\\WordPress\\PluginRoutes' => $baseDir . '/src/WordPress/PluginRoutes.php',
|
60 |
'CF\\WordPress\\Proxy' => $baseDir . '/src/WordPress/Proxy.php',
|
61 |
-
'CF\\WordPress\\Test\\ClientActionsTest' => $baseDir . '/src/Test/WordPress/ClientActionsTest.php',
|
62 |
-
'CF\\WordPress\\Test\\PluginActionsTest' => $baseDir . '/src/Test/WordPress/PluginActionsTest.php',
|
63 |
'CF\\WordPress\\Utils' => $baseDir . '/src/WordPress/Utils.php',
|
64 |
'CF\\WordPress\\WordPressAPI' => $baseDir . '/src/WordPress/WordPressAPI.php',
|
65 |
'CF\\WordPress\\WordPressClientAPI' => $baseDir . '/src/WordPress/WordPressClientAPI.php',
|
@@ -74,9 +55,6 @@ return array(
|
|
74 |
'Psr\\Log\\LoggerInterface' => $vendorDir . '/psr/log/Psr/Log/LoggerInterface.php',
|
75 |
'Psr\\Log\\LoggerTrait' => $vendorDir . '/psr/log/Psr/Log/LoggerTrait.php',
|
76 |
'Psr\\Log\\NullLogger' => $vendorDir . '/psr/log/Psr/Log/NullLogger.php',
|
77 |
-
'Psr\\Log\\Test\\DummyTest' => $vendorDir . '/psr/log/Psr/Log/Test/DummyTest.php',
|
78 |
-
'Psr\\Log\\Test\\LoggerInterfaceTest' => $vendorDir . '/psr/log/Psr/Log/Test/LoggerInterfaceTest.php',
|
79 |
-
'Psr\\Log\\Test\\TestLogger' => $vendorDir . '/psr/log/Psr/Log/Test/TestLogger.php',
|
80 |
'Symfony\\Component\\Yaml\\Dumper' => $vendorDir . '/symfony/yaml/Dumper.php',
|
81 |
'Symfony\\Component\\Yaml\\Escaper' => $vendorDir . '/symfony/yaml/Escaper.php',
|
82 |
'Symfony\\Component\\Yaml\\Exception\\DumpException' => $vendorDir . '/symfony/yaml/Exception/DumpException.php',
|
18 |
'CF\\API\\Plugin' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/API/Plugin.php',
|
19 |
'CF\\API\\PluginRoutes' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/API/PluginRoutes.php',
|
20 |
'CF\\API\\Request' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/API/Request.php',
|
|
|
|
|
|
|
|
|
|
|
21 |
'CF\\DNSRecord' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/DNSRecord.php',
|
22 |
'CF\\Integration\\ConfigInterface' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Integration/ConfigInterface.php',
|
23 |
'CF\\Integration\\DataStoreInterface' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Integration/DataStoreInterface.php',
|
26 |
'CF\\Integration\\DefaultLogger' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Integration/DefaultLogger.php',
|
27 |
'CF\\Integration\\IntegrationAPIInterface' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Integration/IntegrationAPIInterface.php',
|
28 |
'CF\\Integration\\IntegrationInterface' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Integration/IntegrationInterface.php',
|
|
|
|
|
29 |
'CF\\Router\\DefaultRestAPIRouter' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Router/DefaultRestAPIRouter.php',
|
30 |
'CF\\Router\\RequestRouter' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Router/RequestRouter.php',
|
31 |
'CF\\Router\\RouterInterface' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Router/RouterInterface.php',
|
|
|
|
|
32 |
'CF\\SecurityUtil' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/SecurityUtil.php',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
'CF\\Utils' => $vendorDir . '/cloudflare/cloudflare-plugin-backend/src/Utils.php',
|
34 |
'CF\\WordPress\\ClientActions' => $baseDir . '/src/WordPress/ClientActions.php',
|
35 |
'CF\\WordPress\\ClientRoutes' => $baseDir . '/src/WordPress/ClientRoutes.php',
|
41 |
'CF\\WordPress\\PluginActions' => $baseDir . '/src/WordPress/PluginActions.php',
|
42 |
'CF\\WordPress\\PluginRoutes' => $baseDir . '/src/WordPress/PluginRoutes.php',
|
43 |
'CF\\WordPress\\Proxy' => $baseDir . '/src/WordPress/Proxy.php',
|
|
|
|
|
44 |
'CF\\WordPress\\Utils' => $baseDir . '/src/WordPress/Utils.php',
|
45 |
'CF\\WordPress\\WordPressAPI' => $baseDir . '/src/WordPress/WordPressAPI.php',
|
46 |
'CF\\WordPress\\WordPressClientAPI' => $baseDir . '/src/WordPress/WordPressClientAPI.php',
|
55 |
'Psr\\Log\\LoggerInterface' => $vendorDir . '/psr/log/Psr/Log/LoggerInterface.php',
|
56 |
'Psr\\Log\\LoggerTrait' => $vendorDir . '/psr/log/Psr/Log/LoggerTrait.php',
|
57 |
'Psr\\Log\\NullLogger' => $vendorDir . '/psr/log/Psr/Log/NullLogger.php',
|
|
|
|
|
|
|
58 |
'Symfony\\Component\\Yaml\\Dumper' => $vendorDir . '/symfony/yaml/Dumper.php',
|
59 |
'Symfony\\Component\\Yaml\\Escaper' => $vendorDir . '/symfony/yaml/Escaper.php',
|
60 |
'Symfony\\Component\\Yaml\\Exception\\DumpException' => $vendorDir . '/symfony/yaml/Exception/DumpException.php',
|
vendor/composer/autoload_files.php
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
|
2 |
|
3 |
// autoload_files.php @generated by Composer
|
4 |
|
1 |
+
<?php
|
2 |
|
3 |
// autoload_files.php @generated by Composer
|
4 |
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit59741244b4fb16d576156183e16a8bbf
|
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
-
spl_autoload_register(array('
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
-
spl_autoload_unregister(array('
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require_once __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
-
call_user_func(\Composer\Autoload\
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
@@ -51,19 +51,19 @@ class ComposerAutoloaderInit59741244b4fb16d576156183e16a8bbf
|
|
51 |
$loader->register(true);
|
52 |
|
53 |
if ($useStaticLoader) {
|
54 |
-
$includeFiles = Composer\Autoload\
|
55 |
} else {
|
56 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
57 |
}
|
58 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
59 |
-
|
60 |
}
|
61 |
|
62 |
return $loader;
|
63 |
}
|
64 |
}
|
65 |
|
66 |
-
function
|
67 |
{
|
68 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
69 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit6f7979399f910d16693a25d8ea59cb8f
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInit6f7979399f910d16693a25d8ea59cb8f', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit6f7979399f910d16693a25d8ea59cb8f', 'loadClassLoader'));
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require_once __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit6f7979399f910d16693a25d8ea59cb8f::getInitializer($loader));
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
51 |
$loader->register(true);
|
52 |
|
53 |
if ($useStaticLoader) {
|
54 |
+
$includeFiles = Composer\Autoload\ComposerStaticInit6f7979399f910d16693a25d8ea59cb8f::$files;
|
55 |
} else {
|
56 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
57 |
}
|
58 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
59 |
+
composerRequire6f7979399f910d16693a25d8ea59cb8f($fileIdentifier, $file);
|
60 |
}
|
61 |
|
62 |
return $loader;
|
63 |
}
|
64 |
}
|
65 |
|
66 |
+
function composerRequire6f7979399f910d16693a25d8ea59cb8f($fileIdentifier, $file)
|
67 |
{
|
68 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
69 |
require $file;
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
|
@@ -69,11 +69,6 @@ class ComposerStaticInit59741244b4fb16d576156183e16a8bbf
|
|
69 |
'CF\\API\\Plugin' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/API/Plugin.php',
|
70 |
'CF\\API\\PluginRoutes' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/API/PluginRoutes.php',
|
71 |
'CF\\API\\Request' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/API/Request.php',
|
72 |
-
'CF\\API\\Test\\AbstractAPIClientTest' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Test/API/AbstractAPIClientTest.php',
|
73 |
-
'CF\\API\\Test\\AbstractPluginActionsTest' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Test/API/AbstractPluginActionsTest.php',
|
74 |
-
'CF\\API\\Test\\ClientTest' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Test/API/ClientTest.php',
|
75 |
-
'CF\\API\\Test\\DefaultHttpClientTest' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Test/API/DefaultHttpClientTest.php',
|
76 |
-
'CF\\API\\Test\\HostTest' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Test/API/HostTest.php',
|
77 |
'CF\\DNSRecord' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/DNSRecord.php',
|
78 |
'CF\\Integration\\ConfigInterface' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Integration/ConfigInterface.php',
|
79 |
'CF\\Integration\\DataStoreInterface' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Integration/DataStoreInterface.php',
|
@@ -82,22 +77,10 @@ class ComposerStaticInit59741244b4fb16d576156183e16a8bbf
|
|
82 |
'CF\\Integration\\DefaultLogger' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Integration/DefaultLogger.php',
|
83 |
'CF\\Integration\\IntegrationAPIInterface' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Integration/IntegrationAPIInterface.php',
|
84 |
'CF\\Integration\\IntegrationInterface' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Integration/IntegrationInterface.php',
|
85 |
-
'CF\\Integration\\Test\\DefaultConfigTest' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Test/Integration/DefaultConfigTest.php',
|
86 |
-
'CF\\Integration\\Test\\DefaultLoggerTest' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Test/Integration/DefaultLoggerTest.php',
|
87 |
'CF\\Router\\DefaultRestAPIRouter' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Router/DefaultRestAPIRouter.php',
|
88 |
'CF\\Router\\RequestRouter' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Router/RequestRouter.php',
|
89 |
'CF\\Router\\RouterInterface' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Router/RouterInterface.php',
|
90 |
-
'CF\\Router\\Test\\DefaultRestAPIRouterTest' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Test/Router/DefaultRestAPIRouterTest.php',
|
91 |
-
'CF\\Router\\Test\\RequestRouterTest' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Test/Router/RequestRouterTest.php',
|
92 |
'CF\\SecurityUtil' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/SecurityUtil.php',
|
93 |
-
'CF\\SecurityUtilTest' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Test/SecurityUtilTest.php',
|
94 |
-
'CF\\Test\\API\\PluginTest' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Test/API/PluginTest.php',
|
95 |
-
'CF\\Test\\WordPress\\DataStoreTest' => __DIR__ . '/../..' . '/src/Test/WordPress/DataStoreTest.php',
|
96 |
-
'CF\\Test\\WordPress\\HooksTest' => __DIR__ . '/../..' . '/src/Test/WordPress/HooksTest.php',
|
97 |
-
'CF\\Test\\WordPress\\PlansTest' => __DIR__ . '/../..' . '/src/Test/WordPress/PlansTest.php',
|
98 |
-
'CF\\Test\\WordPress\\ProxyTest' => __DIR__ . '/../..' . '/src/Test/WordPress/ProxyTest.php',
|
99 |
-
'CF\\Test\\WordPress\\UtilsTest' => __DIR__ . '/../..' . '/src/Test/WordPress/UtilsTest.php',
|
100 |
-
'CF\\Test\\WordPress\\WordPressAPITest' => __DIR__ . '/../..' . '/src/Test/WordPress/WordPressAPITest.php',
|
101 |
'CF\\Utils' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Utils.php',
|
102 |
'CF\\WordPress\\ClientActions' => __DIR__ . '/../..' . '/src/WordPress/ClientActions.php',
|
103 |
'CF\\WordPress\\ClientRoutes' => __DIR__ . '/../..' . '/src/WordPress/ClientRoutes.php',
|
@@ -109,8 +92,6 @@ class ComposerStaticInit59741244b4fb16d576156183e16a8bbf
|
|
109 |
'CF\\WordPress\\PluginActions' => __DIR__ . '/../..' . '/src/WordPress/PluginActions.php',
|
110 |
'CF\\WordPress\\PluginRoutes' => __DIR__ . '/../..' . '/src/WordPress/PluginRoutes.php',
|
111 |
'CF\\WordPress\\Proxy' => __DIR__ . '/../..' . '/src/WordPress/Proxy.php',
|
112 |
-
'CF\\WordPress\\Test\\ClientActionsTest' => __DIR__ . '/../..' . '/src/Test/WordPress/ClientActionsTest.php',
|
113 |
-
'CF\\WordPress\\Test\\PluginActionsTest' => __DIR__ . '/../..' . '/src/Test/WordPress/PluginActionsTest.php',
|
114 |
'CF\\WordPress\\Utils' => __DIR__ . '/../..' . '/src/WordPress/Utils.php',
|
115 |
'CF\\WordPress\\WordPressAPI' => __DIR__ . '/../..' . '/src/WordPress/WordPressAPI.php',
|
116 |
'CF\\WordPress\\WordPressClientAPI' => __DIR__ . '/../..' . '/src/WordPress/WordPressClientAPI.php',
|
@@ -125,9 +106,6 @@ class ComposerStaticInit59741244b4fb16d576156183e16a8bbf
|
|
125 |
'Psr\\Log\\LoggerInterface' => __DIR__ . '/..' . '/psr/log/Psr/Log/LoggerInterface.php',
|
126 |
'Psr\\Log\\LoggerTrait' => __DIR__ . '/..' . '/psr/log/Psr/Log/LoggerTrait.php',
|
127 |
'Psr\\Log\\NullLogger' => __DIR__ . '/..' . '/psr/log/Psr/Log/NullLogger.php',
|
128 |
-
'Psr\\Log\\Test\\DummyTest' => __DIR__ . '/..' . '/psr/log/Psr/Log/Test/DummyTest.php',
|
129 |
-
'Psr\\Log\\Test\\LoggerInterfaceTest' => __DIR__ . '/..' . '/psr/log/Psr/Log/Test/LoggerInterfaceTest.php',
|
130 |
-
'Psr\\Log\\Test\\TestLogger' => __DIR__ . '/..' . '/psr/log/Psr/Log/Test/TestLogger.php',
|
131 |
'Symfony\\Component\\Yaml\\Dumper' => __DIR__ . '/..' . '/symfony/yaml/Dumper.php',
|
132 |
'Symfony\\Component\\Yaml\\Escaper' => __DIR__ . '/..' . '/symfony/yaml/Escaper.php',
|
133 |
'Symfony\\Component\\Yaml\\Exception\\DumpException' => __DIR__ . '/..' . '/symfony/yaml/Exception/DumpException.php',
|
@@ -144,10 +122,10 @@ class ComposerStaticInit59741244b4fb16d576156183e16a8bbf
|
|
144 |
public static function getInitializer(ClassLoader $loader)
|
145 |
{
|
146 |
return \Closure::bind(function () use ($loader) {
|
147 |
-
$loader->prefixLengthsPsr4 =
|
148 |
-
$loader->prefixDirsPsr4 =
|
149 |
-
$loader->prefixesPsr0 =
|
150 |
-
$loader->classMap =
|
151 |
|
152 |
}, null, ClassLoader::class);
|
153 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit6f7979399f910d16693a25d8ea59cb8f
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
|
69 |
'CF\\API\\Plugin' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/API/Plugin.php',
|
70 |
'CF\\API\\PluginRoutes' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/API/PluginRoutes.php',
|
71 |
'CF\\API\\Request' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/API/Request.php',
|
|
|
|
|
|
|
|
|
|
|
72 |
'CF\\DNSRecord' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/DNSRecord.php',
|
73 |
'CF\\Integration\\ConfigInterface' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Integration/ConfigInterface.php',
|
74 |
'CF\\Integration\\DataStoreInterface' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Integration/DataStoreInterface.php',
|
77 |
'CF\\Integration\\DefaultLogger' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Integration/DefaultLogger.php',
|
78 |
'CF\\Integration\\IntegrationAPIInterface' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Integration/IntegrationAPIInterface.php',
|
79 |
'CF\\Integration\\IntegrationInterface' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Integration/IntegrationInterface.php',
|
|
|
|
|
80 |
'CF\\Router\\DefaultRestAPIRouter' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Router/DefaultRestAPIRouter.php',
|
81 |
'CF\\Router\\RequestRouter' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Router/RequestRouter.php',
|
82 |
'CF\\Router\\RouterInterface' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Router/RouterInterface.php',
|
|
|
|
|
83 |
'CF\\SecurityUtil' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/SecurityUtil.php',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
'CF\\Utils' => __DIR__ . '/..' . '/cloudflare/cloudflare-plugin-backend/src/Utils.php',
|
85 |
'CF\\WordPress\\ClientActions' => __DIR__ . '/../..' . '/src/WordPress/ClientActions.php',
|
86 |
'CF\\WordPress\\ClientRoutes' => __DIR__ . '/../..' . '/src/WordPress/ClientRoutes.php',
|
92 |
'CF\\WordPress\\PluginActions' => __DIR__ . '/../..' . '/src/WordPress/PluginActions.php',
|
93 |
'CF\\WordPress\\PluginRoutes' => __DIR__ . '/../..' . '/src/WordPress/PluginRoutes.php',
|
94 |
'CF\\WordPress\\Proxy' => __DIR__ . '/../..' . '/src/WordPress/Proxy.php',
|
|
|
|
|
95 |
'CF\\WordPress\\Utils' => __DIR__ . '/../..' . '/src/WordPress/Utils.php',
|
96 |
'CF\\WordPress\\WordPressAPI' => __DIR__ . '/../..' . '/src/WordPress/WordPressAPI.php',
|
97 |
'CF\\WordPress\\WordPressClientAPI' => __DIR__ . '/../..' . '/src/WordPress/WordPressClientAPI.php',
|
106 |
'Psr\\Log\\LoggerInterface' => __DIR__ . '/..' . '/psr/log/Psr/Log/LoggerInterface.php',
|
107 |
'Psr\\Log\\LoggerTrait' => __DIR__ . '/..' . '/psr/log/Psr/Log/LoggerTrait.php',
|
108 |
'Psr\\Log\\NullLogger' => __DIR__ . '/..' . '/psr/log/Psr/Log/NullLogger.php',
|
|
|
|
|
|
|
109 |
'Symfony\\Component\\Yaml\\Dumper' => __DIR__ . '/..' . '/symfony/yaml/Dumper.php',
|
110 |
'Symfony\\Component\\Yaml\\Escaper' => __DIR__ . '/..' . '/symfony/yaml/Escaper.php',
|
111 |
'Symfony\\Component\\Yaml\\Exception\\DumpException' => __DIR__ . '/..' . '/symfony/yaml/Exception/DumpException.php',
|
122 |
public static function getInitializer(ClassLoader $loader)
|
123 |
{
|
124 |
return \Closure::bind(function () use ($loader) {
|
125 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit6f7979399f910d16693a25d8ea59cb8f::$prefixLengthsPsr4;
|
126 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit6f7979399f910d16693a25d8ea59cb8f::$prefixDirsPsr4;
|
127 |
+
$loader->prefixesPsr0 = ComposerStaticInit6f7979399f910d16693a25d8ea59cb8f::$prefixesPsr0;
|
128 |
+
$loader->classMap = ComposerStaticInit6f7979399f910d16693a25d8ea59cb8f::$classMap;
|
129 |
|
130 |
}, null, ClassLoader::class);
|
131 |
}
|