Version Description
- hotfix : deprecated function used
Download this release
Release Info
Developer | resmushit |
Plugin | reSmush.it Image Optimizer |
Version | 0.3.10 |
Comparing to | |
See all releases |
Code changes from version 0.3.9 to 0.3.10
- classes/resmushit.class.php +1 -1
- readme.txt +3 -0
- resmushit.php +1 -1
- resmushit.settings.php +1 -1
classes/resmushit.class.php
CHANGED
@@ -199,7 +199,7 @@ Class reSmushit {
|
|
199 |
$output = array();
|
200 |
$extraSQL = null;
|
201 |
if($attachment_id)
|
202 |
-
$extraSQL = "where $wpdb->postmeta.post_id = ".
|
203 |
|
204 |
$query = $wpdb->prepare(
|
205 |
"select
|
199 |
$output = array();
|
200 |
$extraSQL = null;
|
201 |
if($attachment_id)
|
202 |
+
$extraSQL = "where $wpdb->postmeta.post_id = ". (int)($attachment_id);
|
203 |
|
204 |
$query = $wpdb->prepare(
|
205 |
"select
|
readme.txt
CHANGED
@@ -76,6 +76,9 @@ Yes ! Absolutely free, the only restriction is to send images below 5MB.
|
|
76 |
|
77 |
== Changelog ==
|
78 |
|
|
|
|
|
|
|
79 |
= 0.3.9 =
|
80 |
* Fix : OWASP & Security fix
|
81 |
|
76 |
|
77 |
== Changelog ==
|
78 |
|
79 |
+
= 0.3.10 =
|
80 |
+
* hotfix : deprecated function used
|
81 |
+
|
82 |
= 0.3.9 =
|
83 |
* Fix : OWASP & Security fix
|
84 |
|
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.3.
|
14 |
* Timestamp: 2020.07.26
|
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.3.10
|
14 |
* Timestamp: 2020.07.26
|
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.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.3.10');
|
5 |
define('RESMUSHIT_DEFAULT_QLTY', '92');
|
6 |
define('RESMUSHIT_TIMEOUT', '10');
|
7 |
define('RESMUSHIT_LOGS_PATH', 'resmushit.log');
|