ShortPixel Image Optimizer - Version 4.1.3

Version Description

  • fix debug mode too intrusive
Download this release

Release Info

Developer ShortPixel
Plugin Icon 128x128 ShortPixel Image Optimizer
Version 4.1.3
Comparing to
See all releases

Code changes from version 4.1.2 to 4.1.3

Files changed (3) hide show
  1. readme.txt +5 -1
  2. wp-shortpixel-req.php +3 -1
  3. wp-shortpixel.php +2 -2
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: image optimizer, image optimization, compress pdf, compress jpeg, compress
5
 
6
  Requires at least: 3.2.0
7
  Tested up to: 4.6
8
- Stable tag: 4.1.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -179,6 +179,10 @@ The ShortPixel team is here to help. <a href="https://shortpixel.com/contact">Co
179
 
180
  == Changelog ==
181
 
 
 
 
 
182
  = 4.1.2 =
183
 
184
  * bulk slider fix
5
 
6
  Requires at least: 3.2.0
7
  Tested up to: 4.6
8
+ Stable tag: 4.1.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
179
 
180
  == Changelog ==
181
 
182
+ = 4.1.3 =
183
+
184
+ * fix debug mode too intrusive
185
+
186
  = 4.1.2 =
187
 
188
  * bulk slider fix
wp-shortpixel-req.php CHANGED
@@ -1,5 +1,7 @@
1
  <?php
2
- require_once('shortpixel-debug.php');
 
 
3
 
4
  require_once('class/wp-shortpixel-settings.php');
5
  require_once('shortpixel_api.php');
1
  <?php
2
+ if(WP_DEBUG === true) {
3
+ require_once('shortpixel-debug.php');
4
+ }
5
 
6
  require_once('class/wp-shortpixel-settings.php');
7
  require_once('shortpixel_api.php');
wp-shortpixel.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: ShortPixel Image Optimizer
4
  * Plugin URI: https://shortpixel.com/
5
  * Description: ShortPixel optimizes images automatically, while guarding the quality of your images. Check your <a href="options-general.php?page=wp-shortpixel" target="_blank">Settings &gt; ShortPixel</a> page on how to start optimizing your image library and make your website load faster.
6
- * Version: 4.1.2
7
  * Author: ShortPixel
8
  * Author URI: https://shortpixel.com
9
  */
@@ -12,7 +12,7 @@ define('SP_RESET_ON_ACTIVATE', false); //if true TODO set false
12
 
13
  define('SP_AFFILIATE_CODE', '');
14
 
15
- define('PLUGIN_VERSION', "4.1.2");
16
  define('SP_MAX_TIMEOUT', 10);
17
  define('SP_VALIDATE_MAX_TIMEOUT', 15);
18
  define('SP_BACKUP', 'ShortpixelBackups');
3
  * Plugin Name: ShortPixel Image Optimizer
4
  * Plugin URI: https://shortpixel.com/
5
  * Description: ShortPixel optimizes images automatically, while guarding the quality of your images. Check your <a href="options-general.php?page=wp-shortpixel" target="_blank">Settings &gt; ShortPixel</a> page on how to start optimizing your image library and make your website load faster.
6
+ * Version: 4.1.3
7
  * Author: ShortPixel
8
  * Author URI: https://shortpixel.com
9
  */
12
 
13
  define('SP_AFFILIATE_CODE', '');
14
 
15
+ define('PLUGIN_VERSION', "4.1.3");
16
  define('SP_MAX_TIMEOUT', 10);
17
  define('SP_VALIDATE_MAX_TIMEOUT', 15);
18
  define('SP_BACKUP', 'ShortpixelBackups');