Nginx Helper - Version 2.2.1

Version Description

  • Fix timeout issue on FastCGI cache purge. #229 - by chandrapatel, thrijith
Download this release

Release Info

Developer rtcamp
Plugin Icon 128x128 Nginx Helper
Version 2.2.1
Comparing to
See all releases

Code changes from version 2.2.0 to 2.2.1

admin/class-purger.php CHANGED
@@ -1235,9 +1235,8 @@ abstract class Purger {
1235
  return;
1236
  }
1237
 
1238
- $obj = readdir( $dh );
1239
-
1240
- while ( false !== $obj ) {
1241
 
1242
  if ( '.' === $obj || '..' === $obj ) {
1243
  continue;
1235
  return;
1236
  }
1237
 
1238
+ // phpcs:ignore -- WordPress.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition -- Variable assignment required for recursion.
1239
+ while ( false !== ( $obj = readdir( $dh ) ) ) {
 
1240
 
1241
  if ( '.' === $obj || '..' === $obj ) {
1242
  continue;
includes/class-nginx-helper.php CHANGED
@@ -77,7 +77,7 @@ class Nginx_Helper {
77
  public function __construct() {
78
 
79
  $this->plugin_name = 'nginx-helper';
80
- $this->version = '2.2.0';
81
  $this->minimum_wp = '3.0';
82
 
83
  if ( ! $this->required_wp_version() ) {
77
  public function __construct() {
78
 
79
  $this->plugin_name = 'nginx-helper';
80
+ $this->version = '2.2.1';
81
  $this->minimum_wp = '3.0';
82
 
83
  if ( ! $this->required_wp_version() ) {
languages/nginx-helper.po CHANGED
@@ -2,12 +2,12 @@
2
  # This file is distributed under the same license as the Nginx Helper plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Nginx Helper 2.2.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/nginx-helper\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=UTF-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
10
- "POT-Creation-Date: 2020-01-06T11:08:02+05:30\n"
11
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12
  "X-Generator: WP-CLI 2.4.0\n"
13
  "X-Domain: nginx-helper\n"
2
  # This file is distributed under the same license as the Nginx Helper plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Nginx Helper 2.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/nginx-helper\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=UTF-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
10
+ "POT-Creation-Date: 2020-01-07T17:38:36+05:30\n"
11
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12
  "X-Generator: WP-CLI 2.4.0\n"
13
  "X-Domain: nginx-helper\n"
nginx-helper.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Nginx Helper
4
  * Plugin URI: https://rtcamp.com/nginx-helper/
5
  * Description: Cleans nginx's fastcgi/proxy cache or redis-cache whenever a post is edited/published. Also does few more things.
6
- * Version: 2.2.0
7
  * Author: rtCamp
8
  * Author URI: https://rtcamp.com
9
  * Text Domain: nginx-helper
3
  * Plugin Name: Nginx Helper
4
  * Plugin URI: https://rtcamp.com/nginx-helper/
5
  * Description: Cleans nginx's fastcgi/proxy cache or redis-cache whenever a post is edited/published. Also does few more things.
6
+ * Version: 2.2.1
7
  * Author: rtCamp
8
  * Author URI: https://rtcamp.com
9
  * Text Domain: nginx-helper
readme.txt CHANGED
@@ -6,7 +6,7 @@ License: GPLv2 or later (of-course)
6
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  Requires at least: 3.0
8
  Tested up to: 5.3.2
9
- Stable tag: 2.2.0
10
 
11
  Cleans nginx's fastcgi/proxy cache or redis-cache whenever a post is edited/published. Also does a few more things.
12
 
@@ -127,6 +127,9 @@ Please post your problem in [our free support forum](http://community.rtcamp.com
127
 
128
  == Changelog ==
129
 
 
 
 
130
  = 2.2.0 =
131
  * Add filter `rt_nginx_helper_fastcgi_purge_suffix` to change purge suffix for FastCGI cache. [#141](https://github.com/rtCamp/nginx-helper/pull/141) - by [stayallive](https://github.com/stayallive)
132
  * Add filter `rt_nginx_helper_fastcgi_purge_url_base` to change purge URL base for FastCGI cache. [#141](https://github.com/rtCamp/nginx-helper/pull/141) - by [stayallive](https://github.com/stayallive)
@@ -403,5 +406,5 @@ Fix url escaping [#82](https://github.com/rtCamp/nginx-helper/pull/82) - by
403
 
404
  == Upgrade Notice ==
405
 
406
- = 2.2.0 =
407
- Nginx Helper 2.2.0, introduces new Hooks to extend FastCGI cache purge, Adds check for verifying purge status before purging and other bug fixes.
6
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  Requires at least: 3.0
8
  Tested up to: 5.3.2
9
+ Stable tag: 2.2.1
10
 
11
  Cleans nginx's fastcgi/proxy cache or redis-cache whenever a post is edited/published. Also does a few more things.
12
 
127
 
128
  == Changelog ==
129
 
130
+ = 2.2.1 =
131
+ * Fix timeout issue on FastCGI cache purge. [#229](https://github.com/rtCamp/nginx-helper/pull/229) - by [chandrapatel](https://github.com/chandrapatel), [thrijith](https://github.com/thrijith)
132
+
133
  = 2.2.0 =
134
  * Add filter `rt_nginx_helper_fastcgi_purge_suffix` to change purge suffix for FastCGI cache. [#141](https://github.com/rtCamp/nginx-helper/pull/141) - by [stayallive](https://github.com/stayallive)
135
  * Add filter `rt_nginx_helper_fastcgi_purge_url_base` to change purge URL base for FastCGI cache. [#141](https://github.com/rtCamp/nginx-helper/pull/141) - by [stayallive](https://github.com/stayallive)
406
 
407
  == Upgrade Notice ==
408
 
409
+ = 2.2.1 =
410
+ Nginx Helper 2.2.1, introduces new Hooks to extend FastCGI cache purge, Adds check for verifying purge status before purging and other bug fixes.