Version Description
- telofy added purging of atom and RDF feeds.
Download this release
Release Info
Developer | saurabhshukla |
Plugin | Nginx Helper |
Version | 1.6.12 |
Comparing to | |
See all releases |
Code changes from version 1.6.11 to 1.6.12
- nginx-helper.php +1 -1
- purger.php +7 -4
- readme.txt +7 -4
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.6.
|
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.6.12
|
7 |
Author: rtCamp
|
8 |
Author URI: http://rtcamp.com
|
9 |
Requires at least: 3.0
|
purger.php
CHANGED
@@ -208,7 +208,8 @@ namespace rtCamp\WP\Nginx {
|
|
208 |
|
209 |
$parse = parse_url( $url );
|
210 |
|
211 |
-
$
|
|
|
212 |
|
213 |
if ( isset( $parse[ 'query' ] ) && $parse[ 'query' ] != '' ) {
|
214 |
$_url_purge .= '?' . $parse[ 'query' ];
|
@@ -217,8 +218,10 @@ namespace rtCamp\WP\Nginx {
|
|
217 |
$this->_do_remote_get( $_url_purge );
|
218 |
|
219 |
if ( $feed ) {
|
220 |
-
$
|
221 |
-
$this->_do_remote_get( $
|
|
|
|
|
222 |
}
|
223 |
}
|
224 |
|
@@ -673,4 +676,4 @@ namespace rtCamp\WP\Nginx {
|
|
673 |
}
|
674 |
|
675 |
}
|
676 |
-
?>
|
208 |
|
209 |
$parse = parse_url( $url );
|
210 |
|
211 |
+
$_url_purge_base = $parse[ 'scheme' ] . '://' . $parse[ 'host' ] . '/purge' . $parse[ 'path' ];
|
212 |
+
$_url_purge = $_url_purge_base;
|
213 |
|
214 |
if ( isset( $parse[ 'query' ] ) && $parse[ 'query' ] != '' ) {
|
215 |
$_url_purge .= '?' . $parse[ 'query' ];
|
218 |
$this->_do_remote_get( $_url_purge );
|
219 |
|
220 |
if ( $feed ) {
|
221 |
+
$feed_url = rtrim( $_url_purge_base, '/' ) . '/feed/';
|
222 |
+
$this->_do_remote_get( $feed_url );
|
223 |
+
$this->_do_remote_get( $feed_url . 'atom/' );
|
224 |
+
$this->_do_remote_get( $feed_url . 'rdf/' );
|
225 |
}
|
226 |
}
|
227 |
|
676 |
}
|
677 |
|
678 |
}
|
679 |
+
?>
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== Nginx ===
|
2 |
-
Contributors: rtcamp, rahul286, saurabhshukla, Darren Slatten, jk3us, daankortenbach
|
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.5
|
6 |
-
Stable tag: 1.6.
|
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/
|
@@ -109,6 +109,9 @@ Its just that we are hyperactive on our own forum!
|
|
109 |
|
110 |
== Changelog ==
|
111 |
|
|
|
|
|
|
|
112 |
= 1.6.11 =
|
113 |
* Removed comments from Admin screens since, it was interfering with media uploads in 3.5 up.
|
114 |
|
@@ -216,5 +219,5 @@ Its just that we are hyperactive on our own forum!
|
|
216 |
|
217 |
== Upgrade Notice ==
|
218 |
|
219 |
-
= 1.6.
|
220 |
-
|
1 |
=== Nginx ===
|
2 |
+
Contributors: rtcamp, rahul286, saurabhshukla, Darren Slatten, jk3us, daankortenbach, telofy
|
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.5
|
6 |
+
Stable tag: 1.6.12
|
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/
|
109 |
|
110 |
== Changelog ==
|
111 |
|
112 |
+
= 1.6.12 =
|
113 |
+
* [telofy](http://wordpress.org/support/profile/telofy) added purging of atom and RDF feeds.
|
114 |
+
|
115 |
= 1.6.11 =
|
116 |
* Removed comments from Admin screens since, it was interfering with media uploads in 3.5 up.
|
117 |
|
219 |
|
220 |
== Upgrade Notice ==
|
221 |
|
222 |
+
= 1.6.12 =
|
223 |
+
Added RDF and atom feed purge
|