reSmush.it Image Optimizer - Version 0.1.22

Version Description

  • Fix on attachment metadata incorrectly returned (will fix issues with other media libraries)
Download this release

Release Info

Developer resmushit
Plugin Icon 128x128 reSmush.it Image Optimizer
Version 0.1.22
Comparing to
See all releases

Code changes from version 0.1.21 to 0.1.22

Files changed (3) hide show
  1. readme.txt +5 -2
  2. resmushit.php +4 -4
  3. resmushit.settings.php +1 -1
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: resmushit
3
  Tags: image, optimizer, image optimization, resmush.it, smush, jpg, png, gif, optimization, compression, Compress, Images, Pictures, Reduce Image Size, Smush, Smush.it
4
  Requires at least: 4.0.0
5
- Tested up to: 5.0.0
6
- Stable tag: 0.1.21
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -66,6 +66,9 @@ Yes ! Absolutely free, the only restriction is to send images below 5MB.
66
 
67
  == Changelog ==
68
 
 
 
 
69
  = 0.1.21 =
70
  * Wordpress 5.0 compatibility
71
 
2
  Contributors: resmushit
3
  Tags: image, optimizer, image optimization, resmush.it, smush, jpg, png, gif, optimization, compression, Compress, Images, Pictures, Reduce Image Size, Smush, Smush.it
4
  Requires at least: 4.0.0
5
+ Tested up to: 5.0.3
6
+ Stable tag: 0.1.22
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
66
 
67
  == Changelog ==
68
 
69
+ = 0.1.22 =
70
+ * Fix on attachment metadata incorrectly returned (will fix issues with other media libraries)
71
+
72
  = 0.1.21 =
73
  * Wordpress 5.0 compatibility
74
 
resmushit.php CHANGED
@@ -4,14 +4,14 @@
4
  * @author Charles Bourgeaux <hello@resmush.it>
5
  * @license GPL-2.0+
6
  * @link http://www.resmush.it
7
- * @copyright 2018 Resmush.it
8
  *
9
  * @wordpress-plugin
10
  * Plugin Name: reSmush.it Image Optimizer
11
  * Plugin URI: https://resmush.it
12
  * Description: Image Optimization API. Provides image size optimization
13
- * Version: 0.1.21
14
- * Timestamp: 2018.12.09
15
  * Author: reSmush.it
16
  * Author URI: https://resmush.it
17
  * Author: Charles Bourgeaux
@@ -92,7 +92,7 @@ function resmushit_process_images($attachments, $force_keep_original = TRUE) {
92
 
93
  // Optimize only pictures/files accepted by the API
94
  if( !in_array($extension, resmushit::authorizedExtensions()) ) {
95
- return TRUE;
96
  }
97
 
98
  $statistics[] = reSmushit::optimize($basepath . $basefile, $force_keep_original );
4
  * @author Charles Bourgeaux <hello@resmush.it>
5
  * @license GPL-2.0+
6
  * @link http://www.resmush.it
7
+ * @copyright 2019 Resmush.it
8
  *
9
  * @wordpress-plugin
10
  * Plugin Name: reSmush.it Image Optimizer
11
  * Plugin URI: https://resmush.it
12
  * Description: Image Optimization API. Provides image size optimization
13
+ * Version: 0.1.22
14
+ * Timestamp: 2019.01.20
15
  * Author: reSmush.it
16
  * Author URI: https://resmush.it
17
  * Author: Charles Bourgeaux
92
 
93
  // Optimize only pictures/files accepted by the API
94
  if( !in_array($extension, resmushit::authorizedExtensions()) ) {
95
+ return $attachments;
96
  }
97
 
98
  $statistics[] = reSmushit::optimize($basepath . $basefile, $force_keep_original );
resmushit.settings.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
 
4
  define('RESMUSHIT_ENDPOINT', 'http://api.resmush.it/');
5
- define('RESMUSHIT_VERSION', '0.1.21');
6
  define('RESMUSHIT_DEFAULT_QLTY', '92');
7
  define('RESMUSHIT_TIMEOUT', '10');
8
  define('RESMUSHIT_LOGS_PATH', 'resmushit.log');
2
 
3
 
4
  define('RESMUSHIT_ENDPOINT', 'http://api.resmush.it/');
5
+ define('RESMUSHIT_VERSION', '0.1.22');
6
  define('RESMUSHIT_DEFAULT_QLTY', '92');
7
  define('RESMUSHIT_TIMEOUT', '10');
8
  define('RESMUSHIT_LOGS_PATH', 'resmushit.log');