Version Description
- Better error handling.
Download this release
Release Info
Developer | karim79 |
Plugin | Kraken.io Image Optimizer |
Version | 1.0.6 |
Comparing to | |
See all releases |
Code changes from version 1.0.5.9 to 1.0.6
- kraken.php +5 -3
- readme.txt +4 -1
kraken.php
CHANGED
@@ -21,8 +21,8 @@
|
|
21 |
* Plugin URI: http://wordpress.org/plugins/kraken-image-optimizer/
|
22 |
* Description: This plugin allows you to optimize your WordPress images through the Kraken API, the world's most advanced image optimization solution.
|
23 |
* Author: Karim Salman
|
24 |
-
* Version: 1.0.
|
25 |
-
* Stable Tag: 1.0.
|
26 |
* Author URI: https://kraken.io
|
27 |
* License GPL2
|
28 |
*/
|
@@ -493,7 +493,9 @@ if ( !class_exists( 'Wp_Kraken' ) ) {
|
|
493 |
"origin" => "wp"
|
494 |
);
|
495 |
|
496 |
-
|
|
|
|
|
497 |
|
498 |
$data['type'] = !empty( $type ) ? $type : $settings['api_lossy'];
|
499 |
|
21 |
* Plugin URI: http://wordpress.org/plugins/kraken-image-optimizer/
|
22 |
* Description: This plugin allows you to optimize your WordPress images through the Kraken API, the world's most advanced image optimization solution.
|
23 |
* Author: Karim Salman
|
24 |
+
* Version: 1.0.6
|
25 |
+
* Stable Tag: 1.0.6
|
26 |
* Author URI: https://kraken.io
|
27 |
* License GPL2
|
28 |
*/
|
493 |
"origin" => "wp"
|
494 |
);
|
495 |
|
496 |
+
try {
|
497 |
+
$data = $kraken->upload( $params );
|
498 |
+
} catch (Exception $e) {}
|
499 |
|
500 |
$data['type'] = !empty( $type ) ? $type : $settings['api_lossy'];
|
501 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: Image Optimizer, Image Optimiser, Optimize, Optimise, Images, Media, Perfo
|
|
4 |
Requires at least: 3.0.1
|
5 |
Tested up to: 4.1
|
6 |
Donate link: https://kraken.io
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
10 |
|
@@ -94,6 +94,9 @@ You will need to switch the Media Library from the Thumbnail view to the List vi
|
|
94 |
|
95 |
== Changelog ==
|
96 |
|
|
|
|
|
|
|
97 |
= 1.0.5.9 =
|
98 |
* Cleanup release prior to major feature release. Paved the way for "reset" feature, and more.
|
99 |
* Added tags.
|
4 |
Requires at least: 3.0.1
|
5 |
Tested up to: 4.1
|
6 |
Donate link: https://kraken.io
|
7 |
+
Stable tag: 1.0.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
10 |
|
94 |
|
95 |
== Changelog ==
|
96 |
|
97 |
+
= 1.0.6 =
|
98 |
+
* Better error handling.
|
99 |
+
|
100 |
= 1.0.5.9 =
|
101 |
* Cleanup release prior to major feature release. Paved the way for "reset" feature, and more.
|
102 |
* Added tags.
|