Cloudflare - Version 3.8.5

Version Description

  • 2020-10-15 =

  • Added automatic purge cache on new comment

Download this release

Release Info

Developer manatarms
Plugin Icon 128x128 Cloudflare
Version 3.8.5
Comparing to
See all releases

Code changes from version 3.8.4 to 3.8.5

.github/workflows/php.yml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: PHP Composer
2
+
3
+ on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
+ branches: [ master ]
8
+
9
+ jobs:
10
+ build:
11
+
12
+ runs-on: ubuntu-latest
13
+
14
+ strategy:
15
+ matrix:
16
+ php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4']
17
+
18
+ steps:
19
+ - uses: actions/checkout@v2
20
+
21
+ - name: Setup PHP
22
+ uses: shivammathur/setup-php@v2
23
+ with:
24
+ php-version: ${{ matrix.php-versions }}
25
+ env:
26
+ update: true
27
+
28
+ - name: Validate composer.json and composer.lock
29
+ run: composer validate
30
+
31
+ - name: Install dependencies
32
+ if: steps.composer-cache.outputs.cache-hit != 'true'
33
+ run: composer install --prefer-dist --no-progress --no-suggest --verbose
34
+
35
+ - name: Format
36
+ run: |
37
+ composer run-script format || exit_code=$?
38
+ if (( exit_code > 1 )) ; then
39
+ exit $exit_code
40
+ fi
41
+
42
+ # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
43
+ # Docs: https://getcomposer.org/doc/articles/scripts.md
44
+
45
+ - name: Run test suite
46
+ # Skip testing on PHP 7.4, because php-mock required by PHP 5.6 breaks on 7.4+
47
+ if: matrix.php-versions < '7.4'
48
+ run: composer run-script test
.github/workflows/stale.yml ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Mark stale issues and pull requests
2
+
3
+ on:
4
+ schedule:
5
+ - cron: "30 1 * * *"
6
+
7
+ jobs:
8
+ stale:
9
+
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - uses: actions/stale@v3
14
+ with:
15
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
16
+ stale-issue-message: >
17
+ This issue has been automatically marked as stale because it has not had
18
+ recent activity. It will be closed if no further activity occurs. Thank you
19
+ for your contributions.
20
+ stale-pr-message: >
21
+ This pull request has been automatically marked as stale because it has not had
22
+ recent activity. It will be closed if no further activity occurs. Thank you
23
+ for your contributions.
24
+ days-before-stale: 180
25
+ days-before-close: 30
cloudflare.loader.php CHANGED
@@ -97,6 +97,7 @@ $cloudflarePurgeURLActions = array(
97
  'edit_post', // Edit a post - includes leaving comments
98
  'delete_attachment', // Delete an attachment - includes re-uploading
99
  'post_updated', // Update a post
 
100
  );
101
 
102
  $cloudflarePurgeURLActions = apply_filters('cloudflare_purge_url_actions', $cloudflarePurgeURLActions);
97
  'edit_post', // Edit a post - includes leaving comments
98
  'delete_attachment', // Delete an attachment - includes re-uploading
99
  'post_updated', // Update a post
100
+ 'comment_post', // Post a comment
101
  );
102
 
103
  $cloudflarePurgeURLActions = apply_filters('cloudflare_purge_url_actions', $cloudflarePurgeURLActions);
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.8.4
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.8.5
7
  Author: Cloudflare, Inc.
8
  License: BSD-3-Clause
9
  */
composer.json CHANGED
@@ -30,7 +30,7 @@
30
  "_comment": [
31
  "php-compatibility-install comes from https://github.com/wimg/PHPCompatibility/issues/102#issuecomment-255778195"
32
  ],
33
- "version": "3.8.4",
34
  "config": {
35
  "platform": {
36
  "php": "5.6.40"
30
  "_comment": [
31
  "php-compatibility-install comes from https://github.com/wimg/PHPCompatibility/issues/102#issuecomment-255778195"
32
  ],
33
+ "version": "3.8.5",
34
  "config": {
35
  "platform": {
36
  "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": "d089086d635068ee32901d8f9a88ecd7",
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": "5287a402f6c863dac96894c8915edf2a",
8
  "packages": [
9
  {
10
  "name": "cloudflare/cf-ip-rewrite",
config.json CHANGED
@@ -25,5 +25,5 @@
25
  },
26
  "locale": "en",
27
  "integrationName": "wordpress",
28
- "version": "3.8.4"
29
  }
25
  },
26
  "locale": "en",
27
  "integrationName": "wordpress",
28
+ "version": "3.8.5"
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.5.1
6
- Stable tag: 3.8.4
7
  License: BSD-3-Clause
8
 
9
  All of Cloudflare’s performance and security benefits in a simple one-click install.
@@ -89,6 +89,10 @@ Yes, Cloudflare works with, and helps speed up your site even more, if you have
89
 
90
  == Changelog ==
91
 
 
 
 
 
92
  = 3.8.4 - 2020-10-13 =
93
 
94
  * Added composer's type=wordpress-plugin for Bedrock users
3
  Tags: cloudflare, seo, ssl, ddos, speed, security, cdn, performance, free
4
  Requires at least: 3.4
5
  Tested up to: 5.5.1
6
+ Stable tag: 3.8.5
7
  License: BSD-3-Clause
8
 
9
  All of Cloudflare’s performance and security benefits in a simple one-click install.
89
 
90
  == Changelog ==
91
 
92
+ = 3.8.5 - 2020-10-15 =
93
+
94
+ * Added automatic purge cache on new comment
95
+
96
  = 3.8.4 - 2020-10-13 =
97
 
98
  * Added composer's type=wordpress-plugin for Bedrock users
src/WordPress/composer.json CHANGED
@@ -30,7 +30,7 @@
30
  "_comment": [
31
  "php-compatibility-install comes from https://github.com/wimg/PHPCompatibility/issues/102#issuecomment-255778195"
32
  ],
33
- "version": "3.8.4",
34
  "config": {
35
  "platform": {
36
  "php": "5.6.40"
30
  "_comment": [
31
  "php-compatibility-install comes from https://github.com/wimg/PHPCompatibility/issues/102#issuecomment-255778195"
32
  ],
33
+ "version": "3.8.5",
34
  "config": {
35
  "platform": {
36
  "php": "5.6.40"
src/WordPress/config.json CHANGED
@@ -25,5 +25,5 @@
25
  },
26
  "locale": "en",
27
  "integrationName": "wordpress",
28
- "version": "3.8.4"
29
  }
25
  },
26
  "locale": "en",
27
  "integrationName": "wordpress",
28
+ "version": "3.8.5"
29
  }