Version Description
- Fixes bug in true purge and admin screen.
Download this release
Release Info
Developer | saurabhshukla |
Plugin | Nginx Helper |
Version | 1.7.1 |
Comparing to | |
See all releases |
Code changes from version 1.7 to 1.7.1
- admin/admin.php +1 -1
- nginx-helper.php +2 -2
- purger.php +1 -1
- readme.txt +5 -2
admin/admin.php
CHANGED
@@ -27,7 +27,7 @@ namespace rtCamp\WP\Nginx {
|
|
27 |
// load the script for the defined page and load only this code
|
28 |
function show_menu() {
|
29 |
|
30 |
-
global $rt_wp_nginx_helper
|
31 |
|
32 |
$required_page = $_GET[ 'page' ];
|
33 |
switch ( $required_page ) {
|
27 |
// load the script for the defined page and load only this code
|
28 |
function show_menu() {
|
29 |
|
30 |
+
global $rt_wp_nginx_helper, $rt_wp_nginx_purger;;
|
31 |
|
32 |
$required_page = $_GET[ 'page' ];
|
33 |
switch ( $required_page ) {
|
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.7
|
7 |
Author: rtCamp
|
8 |
Author URI: http://rtcamp.com
|
9 |
Requires at least: 3.0
|
@@ -309,7 +309,7 @@ namespace rtCamp\WP\Nginx {
|
|
309 |
namespace {
|
310 |
|
311 |
if (!defined('RT_WP_NGINX_HELPER_CACHE_PATH')){
|
312 |
-
define( 'RT_WP_NGINX_HELPER_CACHE_PATH','/var/run/nginx-cache
|
313 |
}
|
314 |
global $current_blog;
|
315 |
|
3 |
Plugin Name: Nginx Helper
|
4 |
Plugin URI: http://rtcamp.com/
|
5 |
Description: An nginx helper that serves various functions.
|
6 |
+
Version: 1.7.1
|
7 |
Author: rtCamp
|
8 |
Author URI: http://rtcamp.com
|
9 |
Requires at least: 3.0
|
309 |
namespace {
|
310 |
|
311 |
if (!defined('RT_WP_NGINX_HELPER_CACHE_PATH')){
|
312 |
+
define( 'RT_WP_NGINX_HELPER_CACHE_PATH','/var/run/nginx-cache');
|
313 |
}
|
314 |
global $current_blog;
|
315 |
|
purger.php
CHANGED
@@ -690,7 +690,7 @@ namespace rtCamp\WP\Nginx {
|
|
690 |
}
|
691 |
|
692 |
if ( ! unlink( $dir . '/' . $obj ) ) {
|
693 |
-
unlinkRecursive( $dir . '/' . $obj, true );
|
694 |
}
|
695 |
}
|
696 |
|
690 |
}
|
691 |
|
692 |
if ( ! unlink( $dir . '/' . $obj ) ) {
|
693 |
+
$this->unlinkRecursive( $dir . '/' . $obj, true );
|
694 |
}
|
695 |
}
|
696 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: rtcamp, rahul286, saurabhshukla, Darren Slatten, jk3us, daankorten
|
|
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.7
|
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/
|
@@ -113,6 +113,9 @@ Its just that we are hyperactive on our own forum!
|
|
113 |
|
114 |
== Changelog ==
|
115 |
|
|
|
|
|
|
|
116 |
= 1.7 =
|
117 |
* True full cache purge added.
|
118 |
* Map file location changed to uploads' directory to fix http://rtcamp.com/support/topic/plugin-update-removes-map-file/
|
@@ -231,5 +234,5 @@ Its just that we are hyperactive on our own forum!
|
|
231 |
|
232 |
== Upgrade Notice ==
|
233 |
|
234 |
-
= 1.7 =
|
235 |
Added true purge all. Updated log and map file locations.
|
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.7.1
|
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/
|
113 |
|
114 |
== Changelog ==
|
115 |
|
116 |
+
= 1.7.1 =
|
117 |
+
* Fixes bug in true purge and admin screen.
|
118 |
+
|
119 |
= 1.7 =
|
120 |
* True full cache purge added.
|
121 |
* Map file location changed to uploads' directory to fix http://rtcamp.com/support/topic/plugin-update-removes-map-file/
|
234 |
|
235 |
== Upgrade Notice ==
|
236 |
|
237 |
+
= 1.7.1 =
|
238 |
Added true purge all. Updated log and map file locations.
|