Kraken.io Image Optimizer - Version 2.6.2

Version Description

  • Fixed a rare bug which prevented filepaths containing double-forward-slashes from getting optimized.
Download this release

Release Info

Developer karim79
Plugin Icon 128x128 Kraken.io Image Optimizer
Version 2.6.2
Comparing to
See all releases

Code changes from version 2.6.1 to 2.6.2

Files changed (3) hide show
  1. kraken.php +3 -3
  2. lib/Kraken.php +1 -8
  3. readme.txt +5 -2
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: 2.6.1
25
- * Stable Tag: 2.6.1
26
  * Author URI: https://kraken.io
27
  * License GPL2
28
  */
@@ -41,7 +41,7 @@ if ( !class_exists( 'Wp_Kraken' ) ) {
41
 
42
  private $optimization_type = 'lossy';
43
 
44
- public static $kraken_plugin_version = '2.6.0';
45
 
46
  function __construct() {
47
  $plugin_dir_path = dirname( __FILE__ );
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: 2.6.2
25
+ * Stable Tag: 2.6.2
26
  * Author URI: https://kraken.io
27
  * License GPL2
28
  */
41
 
42
  private $optimization_type = 'lossy';
43
 
44
+ public static $kraken_plugin_version = '2.6.2';
45
 
46
  function __construct() {
47
  $plugin_dir_path = dirname( __FILE__ );
lib/Kraken.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  class Kraken {
4
  protected $auth = array();
5
- public static $kraken_plugin_version = '2.6.0';
6
 
7
  public function __construct($key = '', $secret = '') {
8
  $this->auth = array(
@@ -28,13 +28,6 @@ class Kraken {
28
  );
29
  }
30
 
31
- if (preg_match("/\/\//i", $opts['file'])) {
32
- $opts['url'] = $opts['file'];
33
- unset($opts['file']);
34
-
35
- return $this->url($opts);
36
- }
37
-
38
  if (!file_exists($opts['file'])) {
39
  return array(
40
  "success" => false,
2
 
3
  class Kraken {
4
  protected $auth = array();
5
+ public static $kraken_plugin_version = '2.6.2';
6
 
7
  public function __construct($key = '', $secret = '') {
8
  $this->auth = array(
28
  );
29
  }
30
 
 
 
 
 
 
 
 
31
  if (!file_exists($opts['file'])) {
32
  return array(
33
  "success" => false,
readme.txt CHANGED
@@ -3,9 +3,9 @@ Contributors: karim79
3
  Tags: anigif, compress image, exif, image optimizer, image resize, jpg, media, Optimization, optimize, optimize animated gif, optimize gif, optimize jpeg, optimize png, PageRank, PageSpeed Insights, performance, photos, png, Reduce Image Size, retina, seo, sitespeed, speed up site, svg, upload, svg, upload, gtmetrix speed test, EXIF, image resize, kraken.io, smush
4
 
5
  Requires at least: 3.0.1
6
- Tested up to: 4.6
7
  Donate link: https://kraken.io
8
- Stable tag: 2.6.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
 
@@ -114,6 +114,9 @@ Kraken.io's service emphasizes finding the precise balance between image quality
114
 
115
  == Changelog ==
116
 
 
 
 
117
  = 2.6.1 =
118
  * Bug fixes related to new features
119
 
3
  Tags: anigif, compress image, exif, image optimizer, image resize, jpg, media, Optimization, optimize, optimize animated gif, optimize gif, optimize jpeg, optimize png, PageRank, PageSpeed Insights, performance, photos, png, Reduce Image Size, retina, seo, sitespeed, speed up site, svg, upload, svg, upload, gtmetrix speed test, EXIF, image resize, kraken.io, smush
4
 
5
  Requires at least: 3.0.1
6
+ Tested up to: 4.7.4
7
  Donate link: https://kraken.io
8
+ Stable tag: 2.6.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
 
114
 
115
  == Changelog ==
116
 
117
+ = 2.6.2 =
118
+ * Fixed a rare bug which prevented filepaths containing double-forward-slashes from getting optimized.
119
+
120
  = 2.6.1 =
121
  * Bug fixes related to new features
122