Nginx Helper - Version 2.2.2

Version Description

  • Add action rt_nginx_helper_after_purge_all to fire after the entire cache has been purged whatever caching type is used. #232 - by Julien-prrs
  • Fix issue where settings not saved because the button's value localized (for any language). #236 - by umeshnevase
  • Fix issue where "Custom Purge URL" option displays previous value. #240, #241 - by KirillGritcenko
  • Tested with WordPress 5.4
Download this release

Release Info

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

Code changes from version 2.2.1 to 2.2.2

admin/class-nginx-helper-admin.php CHANGED
@@ -717,6 +717,17 @@ class Nginx_Helper_Admin {
717
  break;
718
  }
719
 
 
 
 
 
 
 
 
 
 
 
 
720
  wp_redirect( esc_url_raw( $redirect_url ) );
721
  exit();
722
 
717
  break;
718
  }
719
 
720
+ if ( 'purge' === $action ) {
721
+
722
+ /**
723
+ * Fire an action after the entire cache has been purged whatever caching type is used.
724
+ *
725
+ * @since 2.2.2
726
+ */
727
+ do_action( 'rt_nginx_helper_after_purge_all' );
728
+
729
+ }
730
+
731
  wp_redirect( esc_url_raw( $redirect_url ) );
732
  exit();
733
 
admin/partials/nginx-helper-general-options.php CHANGED
@@ -38,12 +38,12 @@ $args = array(
38
  'purge_page_on_mod' => FILTER_SANITIZE_STRING,
39
  'purge_page_on_new_comment' => FILTER_SANITIZE_STRING,
40
  'purge_page_on_deleted_comment' => FILTER_SANITIZE_STRING,
 
41
  );
42
 
43
  $all_inputs = filter_input_array( INPUT_POST, $args );
44
 
45
- if ( isset( $all_inputs['smart_http_expire_save'] ) && 'Save All Changes' === $all_inputs['smart_http_expire_save'] ) {
46
-
47
  unset( $all_inputs['smart_http_expire_save'] );
48
  unset( $all_inputs['is_submit'] );
49
 
@@ -496,7 +496,7 @@ if ( is_multisite() ) {
496
  <h4><?php esc_html_e( 'Custom Purge URL:', 'nginx-helper' ); ?></h4>
497
  </th>
498
  <td>
499
- <textarea rows="5"class="rt-purge_url" id="purge_url" name="purge_url"><?php echo esc_textarea( $nginx_helper_admin->options['purge_url'] ); ?></textarea>
500
  <p class="description">
501
  <?php
502
  esc_html_e( 'Add one URL per line. URL should not contain domain name.', 'nginx-helper' );
@@ -720,6 +720,7 @@ if ( is_multisite() ) {
720
  </table>
721
  </div> <!-- End of .inside -->
722
  </div>
 
723
  <?php
724
  submit_button( __( 'Save All Changes', 'nginx-helper' ), 'primary large', 'smart_http_expire_save', true );
725
  ?>
38
  'purge_page_on_mod' => FILTER_SANITIZE_STRING,
39
  'purge_page_on_new_comment' => FILTER_SANITIZE_STRING,
40
  'purge_page_on_deleted_comment' => FILTER_SANITIZE_STRING,
41
+ 'smart_http_expire_form_nonce' => FILTER_SANITIZE_STRING,
42
  );
43
 
44
  $all_inputs = filter_input_array( INPUT_POST, $args );
45
 
46
+ if ( isset( $all_inputs['smart_http_expire_save'] ) && wp_verify_nonce( $all_inputs['smart_http_expire_form_nonce'], 'smart-http-expire-form-nonce' ) ) {
 
47
  unset( $all_inputs['smart_http_expire_save'] );
48
  unset( $all_inputs['is_submit'] );
49
 
496
  <h4><?php esc_html_e( 'Custom Purge URL:', 'nginx-helper' ); ?></h4>
497
  </th>
498
  <td>
499
+ <textarea rows="5"class="rt-purge_url" id="purge_url" name="purge_url"><?php echo esc_textarea( $nginx_helper_settings['purge_url'] ); ?></textarea>
500
  <p class="description">
501
  <?php
502
  esc_html_e( 'Add one URL per line. URL should not contain domain name.', 'nginx-helper' );
720
  </table>
721
  </div> <!-- End of .inside -->
722
  </div>
723
+ <input type="hidden" name="smart_http_expire_form_nonce" value="<?php echo wp_create_nonce('smart-http-expire-form-nonce'); ?>"/>
724
  <?php
725
  submit_button( __( 'Save All Changes', 'nginx-helper' ), 'primary large', 'smart_http_expire_save', true );
726
  ?>
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.1';
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.2';
81
  $this->minimum_wp = '3.0';
82
 
83
  if ( ! $this->required_wp_version() ) {
languages/nginx-helper.po CHANGED
@@ -2,14 +2,16 @@
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"
14
 
15
  #. Plugin Name of the plugin
@@ -36,6 +38,15 @@ msgstr ""
36
  msgid "https://rtcamp.com"
37
  msgstr ""
38
 
 
 
 
 
 
 
 
 
 
39
  #: admin/class-nginx-helper-admin.php:88
40
  msgid "General"
41
  msgstr ""
@@ -68,7 +79,7 @@ msgstr ""
68
  msgid "Posted "
69
  msgstr ""
70
 
71
- #: admin/class-nginx-helper-admin.php:729
72
  msgid "Purge initiated"
73
  msgstr ""
74
 
@@ -234,6 +245,95 @@ msgstr ""
234
  msgid "Nginx Settings"
235
  msgstr ""
236
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
237
  #: admin/partials/nginx-helper-general-options.php:56
238
  msgid "Log file size must be a number."
239
  msgstr ""
@@ -509,108 +609,10 @@ msgstr ""
509
  msgid "Mb"
510
  msgstr ""
511
 
512
- #: admin/partials/nginx-helper-general-options.php:724
513
  msgid "Save All Changes"
514
  msgstr ""
515
 
516
- #: admin/partials/nginx-helper-sidebar-display.php:26
517
- msgid "Purge Entire Cache"
518
- msgstr ""
519
-
520
- #: admin/partials/nginx-helper-sidebar-display.php:31
521
- msgid "Need Help?"
522
- msgstr ""
523
-
524
- #: admin/partials/nginx-helper-sidebar-display.php:38
525
- msgid "Please use our"
526
- msgstr ""
527
-
528
- #: admin/partials/nginx-helper-sidebar-display.php:40
529
- msgid "free support forum"
530
- msgstr ""
531
-
532
- #: admin/partials/nginx-helper-sidebar-display.php:50
533
- msgid "Getting Social is Good"
534
- msgstr ""
535
-
536
- #: admin/partials/nginx-helper-sidebar-display.php:54
537
- msgid "Become a fan on Facebook"
538
- msgstr ""
539
-
540
- #: admin/partials/nginx-helper-sidebar-display.php:55
541
- msgid "Follow us on Twitter"
542
- msgstr ""
543
-
544
- #: admin/partials/nginx-helper-sidebar-display.php:61
545
- msgid "Useful Links"
546
- msgstr ""
547
-
548
- #: admin/partials/nginx-helper-sidebar-display.php:66
549
- msgid "WordPress-Nginx Solutions"
550
- msgstr ""
551
-
552
- #: admin/partials/nginx-helper-sidebar-display.php:69
553
- msgid "WordPress Theme Devleopment"
554
- msgstr ""
555
-
556
- #: admin/partials/nginx-helper-sidebar-display.php:72
557
- msgid "WordPress Plugin Development"
558
- msgstr ""
559
-
560
- #: admin/partials/nginx-helper-sidebar-display.php:75
561
- msgid "WordPress Consultancy"
562
- msgstr ""
563
-
564
- #: admin/partials/nginx-helper-sidebar-display.php:78
565
- msgid "easyengine (ee)"
566
- msgstr ""
567
-
568
- #: admin/partials/nginx-helper-sidebar-display.php:85
569
- msgid "Click to toggle"
570
- msgstr ""
571
-
572
- #: admin/partials/nginx-helper-sidebar-display.php:86
573
- msgid "Latest News"
574
- msgstr ""
575
-
576
- #: admin/partials/nginx-helper-sidebar-display.php:87
577
- msgid "Loading..."
578
- msgstr ""
579
-
580
- #: admin/partials/nginx-helper-support-options.php:18
581
- msgid "Support Forums"
582
- msgstr ""
583
-
584
- #: admin/partials/nginx-helper-support-options.php:24
585
- msgid "Free Support"
586
- msgstr ""
587
-
588
- #: admin/partials/nginx-helper-support-options.php:27
589
- msgid "Free Support Forum"
590
- msgstr ""
591
-
592
- #: admin/partials/nginx-helper-support-options.php:28
593
- #: admin/partials/nginx-helper-support-options.php:38
594
- msgid "Link to forum"
595
- msgstr ""
596
-
597
- #: admin/partials/nginx-helper-support-options.php:34
598
- msgid "Premium Support"
599
- msgstr ""
600
-
601
- #: admin/partials/nginx-helper-support-options.php:37
602
- msgid "Premium Support Forum"
603
- msgstr ""
604
-
605
  #: class-nginx-helper-wp-cli-command.php:40
606
  msgid "Purged Everything!"
607
  msgstr ""
608
-
609
- #: includes/class-nginx-helper-activator.php:49
610
- msgid "Sorry, you need to be an administrator to use Nginx Helper"
611
- msgstr ""
612
-
613
- #. translators: %s is Minimum WP version.
614
- #: includes/class-nginx-helper.php:311
615
- msgid "Sorry, Nginx Helper requires WordPress %s or higher"
616
- msgstr ""
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.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/nginx-helper\n"
7
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
+ "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2020-04-20T18:52:09+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
+ "X-Generator: WP-CLI 2.2.0\n"
15
  "X-Domain: nginx-helper\n"
16
 
17
  #. Plugin Name of the plugin
38
  msgid "https://rtcamp.com"
39
  msgstr ""
40
 
41
+ #: includes/class-nginx-helper-activator.php:49
42
+ msgid "Sorry, you need to be an administrator to use Nginx Helper"
43
+ msgstr ""
44
+
45
+ #. translators: %s is Minimum WP version.
46
+ #: includes/class-nginx-helper.php:311
47
+ msgid "Sorry, Nginx Helper requires WordPress %s or higher"
48
+ msgstr ""
49
+
50
  #: admin/class-nginx-helper-admin.php:88
51
  msgid "General"
52
  msgstr ""
79
  msgid "Posted "
80
  msgstr ""
81
 
82
+ #: admin/class-nginx-helper-admin.php:740
83
  msgid "Purge initiated"
84
  msgstr ""
85
 
245
  msgid "Nginx Settings"
246
  msgstr ""
247
 
248
+ #: admin/partials/nginx-helper-support-options.php:18
249
+ msgid "Support Forums"
250
+ msgstr ""
251
+
252
+ #: admin/partials/nginx-helper-support-options.php:24
253
+ msgid "Free Support"
254
+ msgstr ""
255
+
256
+ #: admin/partials/nginx-helper-support-options.php:27
257
+ msgid "Free Support Forum"
258
+ msgstr ""
259
+
260
+ #: admin/partials/nginx-helper-support-options.php:28
261
+ #: admin/partials/nginx-helper-support-options.php:38
262
+ msgid "Link to forum"
263
+ msgstr ""
264
+
265
+ #: admin/partials/nginx-helper-support-options.php:34
266
+ msgid "Premium Support"
267
+ msgstr ""
268
+
269
+ #: admin/partials/nginx-helper-support-options.php:37
270
+ msgid "Premium Support Forum"
271
+ msgstr ""
272
+
273
+ #: admin/partials/nginx-helper-sidebar-display.php:26
274
+ msgid "Purge Entire Cache"
275
+ msgstr ""
276
+
277
+ #: admin/partials/nginx-helper-sidebar-display.php:31
278
+ msgid "Need Help?"
279
+ msgstr ""
280
+
281
+ #: admin/partials/nginx-helper-sidebar-display.php:38
282
+ msgid "Please use our"
283
+ msgstr ""
284
+
285
+ #: admin/partials/nginx-helper-sidebar-display.php:40
286
+ msgid "free support forum"
287
+ msgstr ""
288
+
289
+ #: admin/partials/nginx-helper-sidebar-display.php:50
290
+ msgid "Getting Social is Good"
291
+ msgstr ""
292
+
293
+ #: admin/partials/nginx-helper-sidebar-display.php:54
294
+ msgid "Become a fan on Facebook"
295
+ msgstr ""
296
+
297
+ #: admin/partials/nginx-helper-sidebar-display.php:55
298
+ msgid "Follow us on Twitter"
299
+ msgstr ""
300
+
301
+ #: admin/partials/nginx-helper-sidebar-display.php:61
302
+ msgid "Useful Links"
303
+ msgstr ""
304
+
305
+ #: admin/partials/nginx-helper-sidebar-display.php:66
306
+ msgid "WordPress-Nginx Solutions"
307
+ msgstr ""
308
+
309
+ #: admin/partials/nginx-helper-sidebar-display.php:69
310
+ msgid "WordPress Theme Devleopment"
311
+ msgstr ""
312
+
313
+ #: admin/partials/nginx-helper-sidebar-display.php:72
314
+ msgid "WordPress Plugin Development"
315
+ msgstr ""
316
+
317
+ #: admin/partials/nginx-helper-sidebar-display.php:75
318
+ msgid "WordPress Consultancy"
319
+ msgstr ""
320
+
321
+ #: admin/partials/nginx-helper-sidebar-display.php:78
322
+ msgid "easyengine (ee)"
323
+ msgstr ""
324
+
325
+ #: admin/partials/nginx-helper-sidebar-display.php:85
326
+ msgid "Click to toggle"
327
+ msgstr ""
328
+
329
+ #: admin/partials/nginx-helper-sidebar-display.php:86
330
+ msgid "Latest News"
331
+ msgstr ""
332
+
333
+ #: admin/partials/nginx-helper-sidebar-display.php:87
334
+ msgid "Loading..."
335
+ msgstr ""
336
+
337
  #: admin/partials/nginx-helper-general-options.php:56
338
  msgid "Log file size must be a number."
339
  msgstr ""
609
  msgid "Mb"
610
  msgstr ""
611
 
612
+ #: admin/partials/nginx-helper-general-options.php:725
613
  msgid "Save All Changes"
614
  msgstr ""
615
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
616
  #: class-nginx-helper-wp-cli-command.php:40
617
  msgid "Purged Everything!"
618
  msgstr ""
 
 
 
 
 
 
 
 
 
nginx-helper.php CHANGED
@@ -3,13 +3,13 @@
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
10
  * Domain Path: /languages
11
  * Requires at least: 3.0
12
- * Tested up to: 5.3.2
13
  *
14
  * @link https://rtcamp.com/nginx-helper/
15
  * @since 2.0.0
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.2
7
  * Author: rtCamp
8
  * Author URI: https://rtcamp.com
9
  * Text Domain: nginx-helper
10
  * Domain Path: /languages
11
  * Requires at least: 3.0
12
+ * Tested up to: 5.4
13
  *
14
  * @link https://rtcamp.com/nginx-helper/
15
  * @since 2.0.0
readme.txt CHANGED
@@ -1,12 +1,12 @@
1
  === Nginx Helper ===
2
- Contributors: rtcamp, rahul286, saurabhshukla, manishsongirkar36, faishal, desaiuditd, darren-slatten, jk3us, daankortenbach, telofy, pjv, llonchj, jinnko, weskoop, bcole808, gungeekatx, rohanveer, chandrapatel, gagan0123, ravanh, michaelbeil, samedwards, niwreg, entr, nuvoPoint, iam404, rittesh.patel, vishalkakadiya, BhargavBhandari90, vincent-lu, murrayjbrown, bryant1410, 1gor, matt-h, pySilver, johan-chassaing, dotsam, sanketio, petenelson, nathanielks, rigagoogoo, dslatten, jinschoi, kelin1003, vaishuagola27, rahulsprajapati, Joel-James, utkarshpatel, gsayed786, shashwatmittal, sudhiryadav, thrijith, stayallive, jaredwsmith, abhijitrakas
3
  Donate Link: http://rtcamp.com/donate/
4
  Tags: nginx, cache, purge, nginx map, nginx cache, maps, fastcgi, proxy, redis, redis-cache, rewrite, permalinks
5
  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.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,6 +127,12 @@ Please post your problem in [our free support forum](http://community.rtcamp.com
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
 
@@ -135,7 +141,7 @@ Please post your problem in [our free support forum](http://community.rtcamp.com
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)
136
  * Update our code to be in line with WordPress Coding standards in various places. [#209](https://github.com/rtCamp/nginx-helper/pull/209), [#225](https://github.com/rtCamp/nginx-helper/pull/225) - by [abhijitrakas](https://github.com/abhijitrakas), [chandrapatel](https://github.com/chandrapatel)
137
  * Check and verify purging is enabled before purging cache. [#168](https://github.com/rtCamp/nginx-helper/pull/168) - by [jaredwsmith](https://github.com/jaredwsmith)
138
- * Hide Purge Cache button in admin bar when purge is disabled. [#218](https://github.com/rtCamp/nginx-helper/issues/218), [#219](https://github.com/rtCamp/nginx-helper/pull/219) - by [mbautista](https://github.com/mbautista), [chandrapatel](https://github.com/mbautista)
139
  * Don't add Nginx Timestamp on WordPress login page. [#204](https://github.com/rtCamp/nginx-helper/issues/204), [#220](https://github.com/rtCamp/nginx-helper/pull/220) - by [peixotorms](https://github.com/peixotorms), [chandrapatel](https://github.com/chandrapatel)
140
 
141
  = 2.1.0 =
@@ -406,5 +412,5 @@ Fix url escaping [#82](https://github.com/rtCamp/nginx-helper/pull/82) - by
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.
1
  === Nginx Helper ===
2
+ Contributors: rtcamp, rahul286, saurabhshukla, manishsongirkar36, faishal, desaiuditd, darren-slatten, jk3us, daankortenbach, telofy, pjv, llonchj, jinnko, weskoop, bcole808, gungeekatx, rohanveer, chandrapatel, gagan0123, ravanh, michaelbeil, samedwards, niwreg, entr, nuvoPoint, iam404, rittesh.patel, vishalkakadiya, BhargavBhandari90, vincent-lu, murrayjbrown, bryant1410, 1gor, matt-h, pySilver, johan-chassaing, dotsam, sanketio, petenelson, nathanielks, rigagoogoo, dslatten, jinschoi, kelin1003, vaishuagola27, rahulsprajapati, Joel-James, utkarshpatel, gsayed786, shashwatmittal, sudhiryadav, thrijith, stayallive, jaredwsmith, abhijitrakas, umeshnevase
3
  Donate Link: http://rtcamp.com/donate/
4
  Tags: nginx, cache, purge, nginx map, nginx cache, maps, fastcgi, proxy, redis, redis-cache, rewrite, permalinks
5
  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.4
9
+ Stable tag: 2.2.2
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.2 =
131
+ * Add action `rt_nginx_helper_after_purge_all` to fire after the entire cache has been purged whatever caching type is used. [#232](https://github.com/rtCamp/nginx-helper/pull/232) - by [Julien-prrs](https://github.com/Julien-prrs)
132
+ * Fix issue where settings not saved because the button's value localized (for any language). [#236](https://github.com/rtCamp/nginx-helper/pull/236) - by [umeshnevase](https://github.com/umeshnevase)
133
+ * Fix issue where "Custom Purge URL" option displays previous value. [#240](https://github.com/rtCamp/nginx-helper/issues/240), [#241](https://github.com/rtCamp/nginx-helper/pull/241) - by [KirillGritcenko](https://github.com/KirillGritcenko)
134
+ * Tested with WordPress 5.4
135
+
136
  = 2.2.1 =
137
  * 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)
138
 
141
  * 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)
142
  * Update our code to be in line with WordPress Coding standards in various places. [#209](https://github.com/rtCamp/nginx-helper/pull/209), [#225](https://github.com/rtCamp/nginx-helper/pull/225) - by [abhijitrakas](https://github.com/abhijitrakas), [chandrapatel](https://github.com/chandrapatel)
143
  * Check and verify purging is enabled before purging cache. [#168](https://github.com/rtCamp/nginx-helper/pull/168) - by [jaredwsmith](https://github.com/jaredwsmith)
144
+ * Hide Purge Cache button in admin bar when purge is disabled. [#218](https://github.com/rtCamp/nginx-helper/issues/218), [#219](https://github.com/rtCamp/nginx-helper/pull/219) - by [mbautista](https://github.com/mbautista), [chandrapatel](https://github.com/chandrapatel)
145
  * Don't add Nginx Timestamp on WordPress login page. [#204](https://github.com/rtCamp/nginx-helper/issues/204), [#220](https://github.com/rtCamp/nginx-helper/pull/220) - by [peixotorms](https://github.com/peixotorms), [chandrapatel](https://github.com/chandrapatel)
146
 
147
  = 2.1.0 =
412
 
413
  == Upgrade Notice ==
414
 
415
+ = 2.2.2 =
416
+ Nginx Helper 2.2.2, Add new "rt_nginx_helper_after_purge_all" action and fixes issues where settings not saved because the button's value localized (for any language) and "Custom Purge URL" option displays previous value.