Nginx Helper - Version 1.8.1

Version Description

  • Tested with wordpress 3.9.1
  • Fix confilct with Mailchimp's Social plugin
Download this release

Release Info

Developer faishal
Plugin Icon 128x128 Nginx Helper
Version 1.8.1
Comparing to
See all releases

Code changes from version 1.8 to 1.8.1

Files changed (2) hide show
  1. nginx-helper.php +7 -8
  2. readme.txt +7 -3
nginx-helper.php CHANGED
@@ -3,12 +3,12 @@
3
  Plugin Name: Nginx Helper
4
  Plugin URI: http://rtcamp.com/nginx-helper/
5
  Description: An nginx helper that serves various functions.
6
- Version: 1.8
7
  Author: rtCamp
8
  Author URI: http://rtcamp.com
9
  Text Domain: nginx-helper
10
  Requires at least: 3.0
11
- Tested up to: 3.8
12
  */
13
 
14
  namespace rtCamp\WP\Nginx {
@@ -29,7 +29,7 @@ namespace rtCamp\WP\Nginx {
29
 
30
  // Load Plugin Text Domain
31
  add_action( 'init', array( $this, 'load_plugin_textdomain' ) );
32
-
33
  $this->load_options();
34
  $this->plugin_name = plugin_basename(__FILE__);
35
 
@@ -152,7 +152,7 @@ namespace rtCamp\WP\Nginx {
152
  $this->update_map();
153
  $rt_wp_nginx_purger->log("New site added to nginx map (id $blog_id)");
154
  $helper_options = rt_wp_nginx_helper_get_options();
155
- update_blog_option($blog_id, "rt_wp_nginx_helper_options", $helper_options, true);
156
  $rt_wp_nginx_purger->log("Default options updated for the new blog (id $blog_id)");
157
  }
158
 
@@ -279,7 +279,7 @@ namespace rtCamp\WP\Nginx {
279
  }
280
  wp_redirect(add_query_arg(array('nginx_helper_action' => 'done')));
281
  }
282
-
283
  /**
284
  * Load the translation file for current language.
285
  */
@@ -342,11 +342,10 @@ namespace {
342
  return $links;
343
  }
344
 
345
- $plugin = plugin_basename(__FILE__);
346
  if (is_multisite()) {
347
- add_filter("network_admin_plugin_action_links_$plugin", 'nginx_settings_link');
348
  } else {
349
- add_filter("plugin_action_links_$plugin", 'nginx_settings_link');
350
  }
351
 
352
  function get_feeds($feed_url = 'http://rtcamp.com/blog/feed/') {
3
  Plugin Name: Nginx Helper
4
  Plugin URI: http://rtcamp.com/nginx-helper/
5
  Description: An nginx helper that serves various functions.
6
+ Version: 1.8.1
7
  Author: rtCamp
8
  Author URI: http://rtcamp.com
9
  Text Domain: nginx-helper
10
  Requires at least: 3.0
11
+ Tested up to: 3.9.1
12
  */
13
 
14
  namespace rtCamp\WP\Nginx {
29
 
30
  // Load Plugin Text Domain
31
  add_action( 'init', array( $this, 'load_plugin_textdomain' ) );
32
+
33
  $this->load_options();
34
  $this->plugin_name = plugin_basename(__FILE__);
35
 
152
  $this->update_map();
153
  $rt_wp_nginx_purger->log("New site added to nginx map (id $blog_id)");
154
  $helper_options = rt_wp_nginx_helper_get_options();
155
+ update_blog_option($blog_id, "rt_wp_nginx_helper_options", $helper_options);
156
  $rt_wp_nginx_purger->log("Default options updated for the new blog (id $blog_id)");
157
  }
158
 
279
  }
280
  wp_redirect(add_query_arg(array('nginx_helper_action' => 'done')));
281
  }
282
+
283
  /**
284
  * Load the translation file for current language.
285
  */
342
  return $links;
343
  }
344
 
 
345
  if (is_multisite()) {
346
+ add_filter("network_admin_plugin_action_links_" . plugin_basename(__FILE__), 'nginx_settings_link');
347
  } else {
348
+ add_filter("plugin_action_links_" . plugin_basename(__FILE__), 'nginx_settings_link');
349
  }
350
 
351
  function get_feeds($feed_url = 'http://rtcamp.com/blog/feed/') {
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === Nginx ===
2
- Contributors: rtcamp, rahul286, saurabhshukla, faishal, Darren Slatten, jk3us, daankortenbach, telofy, pjv, llonchj, manishsongirkar36,jinnko
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.8
6
- Stable tag: 1.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/
@@ -116,6 +116,10 @@ Its just that we are hyperactive on our own forum!
116
 
117
  == Changelog ==
118
 
 
 
 
 
119
  = 1.8 =
120
  * New admin UI
121
  * Fix missing wp_sanitize_redirect function call
1
  === Nginx ===
2
+ Contributors: rtcamp, rahul286, saurabhshukla, faishal, Darren Slatten, jk3us, daankortenbach, telofy, pjv, llonchj, manishsongirkar36,jinnko,weskoop
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.9.1
6
+ Stable tag: 1.8.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/
116
 
117
  == Changelog ==
118
 
119
+ = 1.8.1 =
120
+ * Tested with wordpress 3.9.1
121
+ * Fix confilct with Mailchimp's Social plugin
122
+
123
  = 1.8 =
124
  * New admin UI
125
  * Fix missing wp_sanitize_redirect function call