EWWW Image Optimizer - Version 4.4.1

Version Description

  • fixed: ExactDN srcset fill replaces images with first image on page
Download this release

Release Info

Developer nosilver4u
Plugin Icon 128x128 EWWW Image Optimizer
Version 4.4.1
Comparing to
See all releases

Code changes from version 4.4.0 to 4.4.1

changelog.txt CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  = 4.4.0 =
2
  * added: preserve animations in GIF images during resize operations
3
  * added: ExactDN will fill in srcset/sizes attributes for all images based on detected width for better mobile support
1
+ = 4.4.1 =
2
+ * fixed: ExactDN srcset fill replaces images with first image on page
3
+
4
  = 4.4.0 =
5
  * added: preserve animations in GIF images during resize operations
6
  * added: ExactDN will fill in srcset/sizes attributes for all images based on detected width for better mobile support
classes/class-exactdn.php CHANGED
@@ -630,8 +630,10 @@ class ExactDN extends EWWWIO_Page_Parser {
630
  // Default to resize, though fit may be used in certain cases where a dimension cannot be ascertained.
631
  $transform = 'resize';
632
 
633
- // Start with a clean attachment ID each time.
634
  $attachment_id = false;
 
 
635
 
636
  // Flag if we need to munge a fullsize URL.
637
  $fullsize_url = false;
630
  // Default to resize, though fit may be used in certain cases where a dimension cannot be ascertained.
631
  $transform = 'resize';
632
 
633
+ // Start with a clean slate each time.
634
  $attachment_id = false;
635
+ $exactdn_url = false;
636
+ $width = false;
637
 
638
  // Flag if we need to munge a fullsize URL.
639
  $fullsize_url = false;
common.php CHANGED
@@ -25,7 +25,7 @@ if ( ! defined( 'ABSPATH' ) ) {
25
  exit;
26
  }
27
 
28
- define( 'EWWW_IMAGE_OPTIMIZER_VERSION', '440.0' );
29
 
30
  // Initialize a couple globals.
31
  $ewww_debug = '';
25
  exit;
26
  }
27
 
28
+ define( 'EWWW_IMAGE_OPTIMIZER_VERSION', '441.0' );
29
 
30
  // Initialize a couple globals.
31
  $ewww_debug = '';
ewww-image-optimizer.php CHANGED
@@ -14,7 +14,7 @@ Plugin URI: https://wordpress.org/plugins/ewww-image-optimizer/
14
  Description: Reduce file sizes for images within WordPress including NextGEN Gallery and GRAND FlAGallery. Uses jpegtran, optipng/pngout, and gifsicle.
15
  Author: Shane Bishop
16
  Text Domain: ewww-image-optimizer
17
- Version: 4.4.0
18
  Author URI: https://ewww.io/
19
  License: GPLv3
20
  */
14
  Description: Reduce file sizes for images within WordPress including NextGEN Gallery and GRAND FlAGallery. Uses jpegtran, optipng/pngout, and gifsicle.
15
  Author: Shane Bishop
16
  Text Domain: ewww-image-optimizer
17
+ Version: 4.4.1
18
  Author URI: https://ewww.io/
19
  License: GPLv3
20
  */
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: image, compress, resize, optimize, optimization, lossless, lossy, seo, web
5
  Requires at least: 4.6
6
  Tested up to: 4.9
7
  Requires PHP: 5.5
8
- Stable tag: 4.4.0
9
  License: GPLv3
10
 
11
  Speed up your website and improve your visitors' experience by automatically compressing and resizing images and PDFs. Boost SEO and improve sales.
@@ -174,6 +174,9 @@ http://developer.yahoo.com/performance/rules.html#opt_images
174
  * Feature requests can be submitted via https://ewww.io/contact-us/ and commented on here: https://trello.com/b/Fp81dWof/ewww-image-optimizer
175
  * If you would like to help translate this plugin in your language, get started here: https://translate.wordpress.org/projects/wp-plugins/ewww-image-optimizer/
176
 
 
 
 
177
  = 4.4.0 =
178
  * added: preserve animations in GIF images during resize operations
179
  * added: ExactDN will fill in srcset/sizes attributes for all images based on detected width for better mobile support
5
  Requires at least: 4.6
6
  Tested up to: 4.9
7
  Requires PHP: 5.5
8
+ Stable tag: 4.4.1
9
  License: GPLv3
10
 
11
  Speed up your website and improve your visitors' experience by automatically compressing and resizing images and PDFs. Boost SEO and improve sales.
174
  * Feature requests can be submitted via https://ewww.io/contact-us/ and commented on here: https://trello.com/b/Fp81dWof/ewww-image-optimizer
175
  * If you would like to help translate this plugin in your language, get started here: https://translate.wordpress.org/projects/wp-plugins/ewww-image-optimizer/
176
 
177
+ = 4.4.1 =
178
+ * fixed: ExactDN srcset fill replaces images with first image on page
179
+
180
  = 4.4.0 =
181
  * added: preserve animations in GIF images during resize operations
182
  * added: ExactDN will fill in srcset/sizes attributes for all images based on detected width for better mobile support