Nginx Helper - Version 1.6.2

Version Description

  • Another bug fix in the revised code for improved multisite and multidomain mapping.
Download this release

Release Info

Developer saurabhshukla
Plugin Icon 128x128 Nginx Helper
Version 1.6.2
Comparing to
See all releases

Code changes from version 1.6.1 to 1.6.2

Files changed (2) hide show
  1. nginx-helper.php +13 -7
  2. readme.txt +6 -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.1
7
  Author: rtCamp
8
  Author URI: http://rtcamp.com
9
  Requires at least: 3.0
@@ -214,18 +214,24 @@ 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.2
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[] = array(
218
+ 'domain'=>$blog->domain,
219
+ 'id' => $blog->blog_id
220
+ );
221
  }else{
222
  if ( $blog->blog_id != 1 )
223
+ $rt_nginx_map_array[] = array(
224
+ 'domain'=>$blog->path,
225
+ 'id' => $blog->blog_id
226
+ );
227
  }
228
 
229
  if ( $rt_domain_map_sites )
230
  foreach ( $rt_domain_map_sites as $site )
231
+ $rt_nginx_map_array[] = array(
232
+ 'domain'=> $site->domain,
233
+ 'id' => $site->blog_id
234
+ );
235
 
236
 
237
  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.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,6 +105,9 @@ Its just that we are hyperactive on our own forum!
105
 
106
  == Changelog ==
107
 
 
 
 
108
  = 1.6.1 =
109
  * Fixed bug in the revised code for improved multisite and multidomain mapping.
110
 
@@ -179,5 +182,5 @@ Its just that we are hyperactive on our own forum!
179
 
180
  == Upgrade Notice ==
181
 
182
- = 1.6.1 =
183
- Bug fix for multisite map support.
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.2
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.2 =
109
+ * Another bug fix in the revised code for improved multisite and multidomain mapping.
110
+
111
  = 1.6.1 =
112
  * Fixed bug in the revised code for improved multisite and multidomain mapping.
113
 
182
 
183
  == Upgrade Notice ==
184
 
185
+ = 1.6.2 =
186
+ Another bug fix for multisite map support.