Nginx Helper - Version 1.6.11

Version Description

  • Removed comments from Admin screens since, it was interfering with media uploads in 3.5 up.
Download this release

Release Info

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

Code changes from version 1.6.10 to 1.6.11

Files changed (2) hide show
  1. nginx-helper.php +4 -1
  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.10
7
  Author: rtCamp
8
  Author URI: http://rtcamp.com
9
  Requires at least: 3.0
@@ -231,6 +231,8 @@ namespace rtCamp\WP\Nginx {
231
  return;
232
  if ( $this->options[ 'enable_stamp' ] != 1 )
233
  return;
 
 
234
  foreach (headers_list() as $header) {
235
  list($key,$value) = explode(':',$header,2);
236
  if($key == 'Content-Type' && strpos(trim($value),'text/html') !== 0) {
@@ -238,6 +240,7 @@ namespace rtCamp\WP\Nginx {
238
  }
239
  if($key == 'Content-Type') break;
240
  }
 
241
  if ( defined( 'DOING_AJAX' ) && DOING_AJAX )
242
  return;
243
  $timestamps = "\n<!--" .
3
  Plugin Name: Nginx Helper
4
  Plugin URI: http://rtcamp.com/
5
  Description: An nginx helper that serves various functions.
6
+ Version: 1.6.11
7
  Author: rtCamp
8
  Author URI: http://rtcamp.com
9
  Requires at least: 3.0
231
  return;
232
  if ( $this->options[ 'enable_stamp' ] != 1 )
233
  return;
234
+ if (is_admin())
235
+ return;
236
  foreach (headers_list() as $header) {
237
  list($key,$value) = explode(':',$header,2);
238
  if($key == 'Content-Type' && strpos(trim($value),'text/html') !== 0) {
240
  }
241
  if($key == 'Content-Type') break;
242
  }
243
+
244
  if ( defined( 'DOING_AJAX' ) && DOING_AJAX )
245
  return;
246
  $timestamps = "\n<!--" .
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.6.10
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.10 =
113
  * Cleaned up code.
114
  * Added credits for code.
@@ -213,5 +216,5 @@ Its just that we are hyperactive on our own forum!
213
 
214
  == Upgrade Notice ==
215
 
216
- = 1.6.9 =
217
- Added faux to all purge all buttons.
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.11
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.11 =
113
+ * Removed comments from Admin screens since, it was interfering with media uploads in 3.5 up.
114
+
115
  = 1.6.10 =
116
  * Cleaned up code.
117
  * Added credits for code.
216
 
217
  == Upgrade Notice ==
218
 
219
+ = 1.6.11 =
220
+ Fixed bug with 3.5 media uploader