Version Description
- Fixed bug in single post/page/post-type purging code. Thanks to Greg for pointing this out here: http://rtcamp.com/support/topic/updating-post-nginx-helper-purge-cache-post/.
Download this release
Release Info
Developer | saurabhshukla |
Plugin | Nginx Helper |
Version | 1.3.8 |
Comparing to | |
See all releases |
Code changes from version 1.3.7 to 1.3.8
- nginx-helper.php +1 -1
- purger.php +1 -1
- readme.txt +7 -3
nginx-helper.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Nginx Helper
|
4 |
Plugin URI: http://rtcamp.com/
|
5 |
Description: An nginx helper that serves various functions.
|
6 |
-
Version: 1.3.
|
7 |
Author: rtCamp
|
8 |
Author URI: http://rtcamp.com
|
9 |
Requires at least: 3.0
|
3 |
Plugin Name: Nginx Helper
|
4 |
Plugin URI: http://rtcamp.com/
|
5 |
Description: An nginx helper that serves various functions.
|
6 |
+
Version: 1.3.8
|
7 |
Author: rtCamp
|
8 |
Author URI: http://rtcamp.com
|
9 |
Requires at least: 3.0
|
purger.php
CHANGED
@@ -107,7 +107,7 @@ namespace rtCamp\WP\Nginx{
|
|
107 |
if ( current_filter() == 'comment_post' || current_filter() == 'wp_set_comment_status' ) {
|
108 |
$this->_purge_by_options($_ID, $blog_id, $rt_wp_nginx_helper->options['purge_page_on_new_comment'], $rt_wp_nginx_helper->options['purge_archive_on_new_comment'], $rt_wp_nginx_helper->options['purge_archive_on_new_comment']);
|
109 |
} else {
|
110 |
-
$this->_purge_by_options($_ID, $blog_id, $
|
111 |
}
|
112 |
|
113 |
$this->log( "Function purgePost END ^^^" );
|
107 |
if ( current_filter() == 'comment_post' || current_filter() == 'wp_set_comment_status' ) {
|
108 |
$this->_purge_by_options($_ID, $blog_id, $rt_wp_nginx_helper->options['purge_page_on_new_comment'], $rt_wp_nginx_helper->options['purge_archive_on_new_comment'], $rt_wp_nginx_helper->options['purge_archive_on_new_comment']);
|
109 |
} else {
|
110 |
+
$this->_purge_by_options($_ID, $blog_id, $rt_wp_nginx_helper->options['purge_page_on_mod'], $rt_wp_nginx_helper->options['purge_archive_on_edit'], $rt_wp_nginx_helper->options['purge_archive_on_edit']);
|
111 |
}
|
112 |
|
113 |
$this->log( "Function purgePost END ^^^" );
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: rtcamp, rahul286, saurabhshukla
|
|
3 |
Tags: nginx, cache, purge, nginx map, nginx cache, maps, fastcgi, proxy, rewrite, permalinks
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 3.4.2
|
6 |
-
Stable tag: 1.3.
|
7 |
License: GPLv2 or later (of-course)
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
Donate Link: http://rtcamp.com/donate/
|
@@ -101,6 +101,10 @@ Its just that we are hyperactive on our own forum!
|
|
101 |
2. Remaining settings
|
102 |
|
103 |
== Changelog ==
|
|
|
|
|
|
|
|
|
104 |
= 1.3.7 =
|
105 |
|
106 |
* Changed the action hook, back to 'shutdown' from 'wp_footer' to add verification comments.
|
@@ -155,5 +159,5 @@ Its just that we are hyperactive on our own forum!
|
|
155 |
|
156 |
== Upgrade Notice ==
|
157 |
|
158 |
-
= 1.3.
|
159 |
-
|
3 |
Tags: nginx, cache, purge, nginx map, nginx cache, maps, fastcgi, proxy, rewrite, permalinks
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 3.4.2
|
6 |
+
Stable tag: 1.3.8
|
7 |
License: GPLv2 or later (of-course)
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
Donate Link: http://rtcamp.com/donate/
|
101 |
2. Remaining settings
|
102 |
|
103 |
== Changelog ==
|
104 |
+
= 1.3.8 =
|
105 |
+
|
106 |
+
* Fixed bug in single post/page/post-type purging code. Thanks to Greg for pointing this out here: http://rtcamp.com/support/topic/updating-post-nginx-helper-purge-cache-post/.
|
107 |
+
|
108 |
= 1.3.7 =
|
109 |
|
110 |
* Changed the action hook, back to 'shutdown' from 'wp_footer' to add verification comments.
|
159 |
|
160 |
== Upgrade Notice ==
|
161 |
|
162 |
+
= 1.3.8 =
|
163 |
+
Bug fix for single post/post type purge on edit.
|