Version Description
- Fixed bug related to storing optimized thumbnails metadata.
Download this release
Release Info
Developer | karim79 |
Plugin | Kraken.io Image Optimizer |
Version | 1.0.3.2 |
Comparing to | |
See all releases |
Code changes from version 1.0.3.1 to 1.0.3.2
- kraken.php +4 -4
- readme.txt +4 -1
kraken.php
CHANGED
@@ -21,8 +21,8 @@
|
|
21 |
* Plugin URI: http://wordpress.org/plugins/kraken-image-optimizer/
|
22 |
* Description: Optimize Wordpress image uploads through Kraken.io's Image Optimization API
|
23 |
* Author: Karim Salman
|
24 |
-
* Version: 1.0.3.
|
25 |
-
* Stable Tag: 1.0.3.
|
26 |
* Author URI: https://kraken.io
|
27 |
* License GPL2
|
28 |
*/
|
@@ -38,7 +38,7 @@ if ( !class_exists( 'Wp_Kraken' ) ) {
|
|
38 |
|
39 |
private $thumbs_data = array();
|
40 |
|
41 |
-
private $optimization_type = '';
|
42 |
|
43 |
function __construct() {
|
44 |
$plugin_dir_path = dirname( __FILE__ );
|
@@ -523,7 +523,7 @@ if ( !class_exists( 'Wp_Kraken' ) ) {
|
|
523 |
if ( !empty($result) && isset($result['success']) && isset( $result['kraked_url'] ) ) {
|
524 |
$kraked_url = $result["kraked_url"];
|
525 |
if ( $this->replace_image( $thumb_path, $kraked_url ) ) {
|
526 |
-
$this_thumb = array( 'thumb' => $key, 'file' => $size['file'], 'original_size' => $result['original_size'], 'kraked_size' => $result['kraked_size'], 'type' => $optimization_type );
|
527 |
$thumbs_optimized_store [] = $this_thumb;
|
528 |
}
|
529 |
}
|
21 |
* Plugin URI: http://wordpress.org/plugins/kraken-image-optimizer/
|
22 |
* Description: Optimize Wordpress image uploads through Kraken.io's Image Optimization API
|
23 |
* Author: Karim Salman
|
24 |
+
* Version: 1.0.3.2
|
25 |
+
* Stable Tag: 1.0.3.2
|
26 |
* Author URI: https://kraken.io
|
27 |
* License GPL2
|
28 |
*/
|
38 |
|
39 |
private $thumbs_data = array();
|
40 |
|
41 |
+
private $optimization_type = 'lossy';
|
42 |
|
43 |
function __construct() {
|
44 |
$plugin_dir_path = dirname( __FILE__ );
|
523 |
if ( !empty($result) && isset($result['success']) && isset( $result['kraked_url'] ) ) {
|
524 |
$kraked_url = $result["kraked_url"];
|
525 |
if ( $this->replace_image( $thumb_path, $kraked_url ) ) {
|
526 |
+
$this_thumb = array( 'thumb' => $key, 'file' => $size['file'], 'original_size' => $result['original_size'], 'kraked_size' => $result['kraked_size'], 'type' => $this->optimization_type );
|
527 |
$thumbs_optimized_store [] = $this_thumb;
|
528 |
}
|
529 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: Image Optimizer, Optimize, Images, Media, Performance, SEO, smushit, compr
|
|
4 |
Requires at least: 3.0.1
|
5 |
Tested up to: 3.8.1
|
6 |
Donate link: https://kraken.io
|
7 |
-
Stable tag: 1.0.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
10 |
|
@@ -99,4 +99,7 @@ From our plans page, right [here](https://kraken.io/plans "Kraken.io plans and p
|
|
99 |
* When using the Regenerate Thumbnails plugin with kraked images, meta data is now correctly updated per image.
|
100 |
* Optimization mode (lossy/lossless) is now stored with kraken thumbnail metadata (for future Stats page).
|
101 |
|
|
|
|
|
|
|
102 |
|
4 |
Requires at least: 3.0.1
|
5 |
Tested up to: 3.8.1
|
6 |
Donate link: https://kraken.io
|
7 |
+
Stable tag: 1.0.3.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
10 |
|
99 |
* When using the Regenerate Thumbnails plugin with kraked images, meta data is now correctly updated per image.
|
100 |
* Optimization mode (lossy/lossless) is now stored with kraken thumbnail metadata (for future Stats page).
|
101 |
|
102 |
+
= 1.0.3.2 =
|
103 |
+
* Fixed bug related to storing optimized thumbnails metadata.
|
104 |
+
|
105 |
|