Version Description
- Fixed bug in the revised code for improved multisite and multidomain mapping.
Download this release
Release Info
Developer | saurabhshukla |
Plugin | Nginx Helper |
Version | 1.6.1 |
Comparing to | |
See all releases |
Code changes from version 1.6 to 1.6.1
- nginx-helper.php +7 -7
- 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.6
|
7 |
Author: rtCamp
|
8 |
Author URI: http://rtcamp.com
|
9 |
Requires at least: 3.0
|
@@ -214,18 +214,18 @@ namespace rtCamp\WP\Nginx {
|
|
214 |
if ( $rt_all_blogs )
|
215 |
foreach ( $rt_all_blogs as $blog ){
|
216 |
if ( SUBDOMAIN_INSTALL == "yes" )
|
217 |
-
$rt_nginx_map_array['domain'] = $blog->domain;
|
218 |
-
$rt_nginx_map_array['id'] = $blog->blog_id;
|
219 |
}else{
|
220 |
if ( $blog->blog_id != 1 )
|
221 |
-
$rt_nginx_map_array['domain'] = $blog->path;
|
222 |
-
$rt_nginx_map_array['id'] = $blog->blog_id;
|
223 |
}
|
224 |
|
225 |
if ( $rt_domain_map_sites )
|
226 |
foreach ( $rt_domain_map_sites as $site )
|
227 |
-
$rt_nginx_map_array['domain'] = $site->domain;
|
228 |
-
$rt_nginx_map_array['id'] = $site->blog_id;
|
229 |
|
230 |
|
231 |
foreach ( $rt_nginx_map_array as $blog )
|
3 |
Plugin Name: Nginx Helper
|
4 |
Plugin URI: http://rtcamp.com/
|
5 |
Description: An nginx helper that serves various functions.
|
6 |
+
Version: 1.6.1
|
7 |
Author: rtCamp
|
8 |
Author URI: http://rtcamp.com
|
9 |
Requires at least: 3.0
|
214 |
if ( $rt_all_blogs )
|
215 |
foreach ( $rt_all_blogs as $blog ){
|
216 |
if ( SUBDOMAIN_INSTALL == "yes" )
|
217 |
+
$rt_nginx_map_array[]['domain'] = $blog->domain;
|
218 |
+
$rt_nginx_map_array[]['id'] = $blog->blog_id;
|
219 |
}else{
|
220 |
if ( $blog->blog_id != 1 )
|
221 |
+
$rt_nginx_map_array[]['domain'] = $blog->path;
|
222 |
+
$rt_nginx_map_array[]['id'] = $blog->blog_id;
|
223 |
}
|
224 |
|
225 |
if ( $rt_domain_map_sites )
|
226 |
foreach ( $rt_domain_map_sites as $site )
|
227 |
+
$rt_nginx_map_array[]['domain'] = $site->domain;
|
228 |
+
$rt_nginx_map_array[]['id'] = $site->blog_id;
|
229 |
|
230 |
|
231 |
foreach ( $rt_nginx_map_array as $blog )
|
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.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/
|
@@ -105,8 +105,12 @@ Its just that we are hyperactive on our own forum!
|
|
105 |
|
106 |
== Changelog ==
|
107 |
|
|
|
|
|
|
|
108 |
= 1.6 =
|
109 |
* Revised code for improved multisite and multidomain mapping.
|
|
|
110 |
= 1.5 =
|
111 |
* Timestamp now only gets added to content-type text/html
|
112 |
* Added option to toggle timestamp creation
|
@@ -175,5 +179,5 @@ Its just that we are hyperactive on our own forum!
|
|
175 |
|
176 |
== Upgrade Notice ==
|
177 |
|
178 |
-
= 1.6 =
|
179 |
-
|
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.6.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/
|
105 |
|
106 |
== Changelog ==
|
107 |
|
108 |
+
= 1.6.1 =
|
109 |
+
* Fixed bug in the revised code for improved multisite and multidomain mapping.
|
110 |
+
|
111 |
= 1.6 =
|
112 |
* Revised code for improved multisite and multidomain mapping.
|
113 |
+
|
114 |
= 1.5 =
|
115 |
* Timestamp now only gets added to content-type text/html
|
116 |
* Added option to toggle timestamp creation
|
179 |
|
180 |
== Upgrade Notice ==
|
181 |
|
182 |
+
= 1.6.1 =
|
183 |
+
Bug fix for multisite map support.
|