From aedc9c0b14e366db28de1b5b1b031514f08050d0 Mon Sep 17 00:00:00 2001 From: Shane Bishop Date: Tue, 10 Sep 2019 08:47:20 -0600 Subject: [PATCH] final tweaks for 4.9.3 --- changelog.txt | 8 ++++++++ classes/class-eio-alt-webp.php | 3 --- common.php | 5 +---- ewww-image-optimizer.php | 2 +- readme.txt | 2 +- 5 files changed, 11 insertions(+), 9 deletions(-) diff --git a/changelog.txt b/changelog.txt index 7a4b30db..a6102552 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,11 @@ += 4.9.3 = +* fixed: ExactDN incorrectly scales Elementor background images rather than cropping +* fixed: ExactDN cannot work with Divi/Elementor background images due to use of external CSS files +* fixed: JS WebP rewriting picture tags that already have WebP markup in Force WebP mode +* fixed: JS WebP incorrectly parses GIF/SVG images in Force WebP mode +* fixed: JS WebP does not support lazy load + infinite scroll +* fixed: Lazy Load auto-scaling breaks if background image is enclosed in encoded quotes + = 4.9.2 = * fixed: generating lazy load PNG placeholders with large heights causes 500 errors * fixed: error when importing media via WordPress Importer plugin diff --git a/classes/class-eio-alt-webp.php b/classes/class-eio-alt-webp.php index 6b1fbcdd..a36b1bf5 100644 --- a/classes/class-eio-alt-webp.php +++ b/classes/class-eio-alt-webp.php @@ -655,9 +655,6 @@ function filter_page_output( $buffer ) { } } ewwwio_debug_message( 'all done parsing page for alt webp' ); - if ( true ) { // Set to true for extra logging. - ewww_image_optimizer_debug_log(); - } return $buffer; } diff --git a/common.php b/common.php index ca862bb2..e5b70d54 100644 --- a/common.php +++ b/common.php @@ -22,7 +22,7 @@ exit; } -define( 'EWWW_IMAGE_OPTIMIZER_VERSION', '492.15' ); +define( 'EWWW_IMAGE_OPTIMIZER_VERSION', '493.0' ); // Initialize a couple globals. $eio_debug = ''; @@ -7965,9 +7965,6 @@ function ewww_image_optimizer_get_image_sizes() { if ( is_array( $image_sizes ) ) { ewwwio_debug_message( 'sizes: ' . implode( '
', $image_sizes ) ); } - if ( false ) { // set to true to enable more debugging. - ewwwio_debug_message( print_r( $_wp_additional_image_sizes, true ) ); - } if ( ewww_image_optimizer_iterable( $image_sizes ) ) { foreach ( $image_sizes as $_size ) { if ( in_array( $_size, array( 'thumbnail', 'medium', 'medium_large', 'large' ), true ) ) { diff --git a/ewww-image-optimizer.php b/ewww-image-optimizer.php index 6a0f32be..3023661e 100644 --- a/ewww-image-optimizer.php +++ b/ewww-image-optimizer.php @@ -13,7 +13,7 @@ Plugin URI: https://wordpress.org/plugins/ewww-image-optimizer/ Description: Reduce file sizes for images within WordPress including NextGEN Gallery and GRAND FlAGallery. Uses jpegtran, optipng/pngout, and gifsicle. Author: Exactly WWW -Version: 4.9.2.1 +Version: 4.9.3 Author URI: https://ewww.io/ License: GPLv3 */ diff --git a/readme.txt b/readme.txt index 153eef04..7e33d6bf 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: optimize, image, convert, webp, resize, compress, lazy load, optimization, Requires at least: 5.0 Tested up to: 5.2 Requires PHP: 5.6 -Stable tag: 4.9.2 +Stable tag: 4.9.3 License: GPLv3 Speed up your website and improve your visitors' experience by automatically compressing and resizing images and PDFs. Boost SEO and improve sales.