Cloudflare - Version 3.8.9

Version Description

  • 2021-01-14 =

  • Revert Add pagination purging

Download this release

Release Info

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

Code changes from version 3.8.8 to 3.8.9

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.8
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.9
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.8",
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.9",
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": "ffc87663f653c859f64fd3889fb71285",
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": "bf354236576bbd5676c60cbbcd27b510",
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.8"
29
  }
25
  },
26
  "locale": "en",
27
  "integrationName": "wordpress",
28
+ "version": "3.8.9"
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.8
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.8 - 2021-01-13 =
93
 
94
  * Add pagination purging
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.9
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.9 - 2021-01-14 =
93
+
94
+ * Revert Add pagination purging
95
+
96
  = 3.8.8 - 2021-01-13 =
97
 
98
  * Add pagination purging
src/WordPress/Hooks.php CHANGED
@@ -234,20 +234,6 @@ class Hooks
234
 
235
  // Home Page and (if used) posts page
236
  array_push($listofurls, home_url('/'));
237
-
238
- // Refresh pagination
239
- $total_posts_count = wp_count_posts()->publish;
240
- $posts_per_page = get_option('posts_per_page');
241
- $page_number_max = ceil($total_posts_count / $posts_per_page);
242
-
243
- $this->logger->debug("total_posts_count $total_posts_count");
244
- $this->logger->debug("posts_per_page $posts_per_page");
245
- $this->logger->debug("page_number_max $page_number_max");
246
-
247
- foreach (range(1, $page_number_max) as $page_number) {
248
- array_push($listofurls, home_url(sprintf('/page/%s/', $page_number)));
249
- }
250
-
251
  $pageLink = get_permalink(get_option('page_for_posts'));
252
  if (is_string($pageLink) && !empty($pageLink) && get_option('show_on_front') == 'page') {
253
  array_push($listofurls, $pageLink);
234
 
235
  // Home Page and (if used) posts page
236
  array_push($listofurls, home_url('/'));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
237
  $pageLink = get_permalink(get_option('page_for_posts'));
238
  if (is_string($pageLink) && !empty($pageLink) && get_option('show_on_front') == 'page') {
239
  array_push($listofurls, $pageLink);
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.8",
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.9",
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.8"
29
  }
25
  },
26
  "locale": "en",
27
  "integrationName": "wordpress",
28
+ "version": "3.8.9"
29
  }