reSmush.it Image Optimizer - Version 0.2.4

Version Description

  • Fix issue on SQL request for table prefix different from 'wp_'
Download this release

Release Info

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

Code changes from version 0.2.3 to 0.2.4

classes/resmushit.class.php CHANGED
@@ -286,15 +286,15 @@ Class reSmushit {
286
  select
287
  POSTS.ID as ID, METAQLTY.meta_value as qlty, METADISABLED.meta_value as disabled
288
  $extra_select
289
- from wp_posts as POSTS
290
  inner join
291
- wp_postmeta as METAATTACH on POSTS.ID = METAATTACH.post_id
292
  and METAATTACH.meta_key = %s
293
  left join
294
- wp_postmeta as METAQLTY on POSTS.ID = METAQLTY.post_id
295
  and METAQLTY.meta_key = %s
296
  left join
297
- wp_postmeta as METADISABLED on POSTS.ID = METADISABLED.post_id
298
  and METADISABLED.meta_key = %s
299
  where
300
  POSTS.post_type = %s
286
  select
287
  POSTS.ID as ID, METAQLTY.meta_value as qlty, METADISABLED.meta_value as disabled
288
  $extra_select
289
+ from $wpdb->posts as POSTS
290
  inner join
291
+ $wpdb->postmeta as METAATTACH on POSTS.ID = METAATTACH.post_id
292
  and METAATTACH.meta_key = %s
293
  left join
294
+ $wpdb->postmeta as METAQLTY on POSTS.ID = METAQLTY.post_id
295
  and METAQLTY.meta_key = %s
296
  left join
297
+ $wpdb->postmeta as METADISABLED on POSTS.ID = METADISABLED.post_id
298
  and METADISABLED.meta_key = %s
299
  where
300
  POSTS.post_type = %s
readme.txt CHANGED
@@ -3,7 +3,7 @@ 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.3.2
6
- Stable tag: 0.2.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -70,6 +70,9 @@ Yes ! Absolutely free, the only restriction is to send images below 5MB.
70
 
71
  == Changelog ==
72
 
 
 
 
73
  = 0.2.3 =
74
  * Version number issue
75
 
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.3.2
6
+ Stable tag: 0.2.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
70
 
71
  == Changelog ==
72
 
73
+ = 0.2.4 =
74
+ * Fix issue on SQL request for table prefix different from 'wp_'
75
+
76
  = 0.2.3 =
77
  * Version number issue
78
 
resmushit.php CHANGED
@@ -10,7 +10,7 @@
10
  * Plugin Name: reSmush.it Image Optimizer
11
  * Plugin URI: https://wordpress.org/plugins/resmushit-image-optimizer/
12
  * Description: Image Optimization API. Provides image size optimization
13
- * Version: 0.2.3
14
  * Timestamp: 2019.12.23
15
  * Author: reSmush.it
16
  * Author URI: https://resmush.it
10
  * Plugin Name: reSmush.it Image Optimizer
11
  * Plugin URI: https://wordpress.org/plugins/resmushit-image-optimizer/
12
  * Description: Image Optimization API. Provides image size optimization
13
+ * Version: 0.2.4
14
  * Timestamp: 2019.12.23
15
  * Author: reSmush.it
16
  * Author URI: https://resmush.it
resmushit.settings.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  define('RESMUSHIT_ENDPOINT', 'http://api.resmush.it/');
4
- define('RESMUSHIT_VERSION', '0.2.3');
5
  define('RESMUSHIT_DEFAULT_QLTY', '92');
6
  define('RESMUSHIT_TIMEOUT', '10');
7
  define('RESMUSHIT_LOGS_PATH', 'resmushit.log');
1
  <?php
2
 
3
  define('RESMUSHIT_ENDPOINT', 'http://api.resmush.it/');
4
+ define('RESMUSHIT_VERSION', '0.2.4');
5
  define('RESMUSHIT_DEFAULT_QLTY', '92');
6
  define('RESMUSHIT_TIMEOUT', '10');
7
  define('RESMUSHIT_LOGS_PATH', 'resmushit.log');