Version Description
- fixed: db error when MariaDB 10.1 does not permit ALTER for setting default column value
- fixed: Lazy Load missing placeholder folder when Easy IO is enabled
Download this release
Release Info
Developer | nosilver4u |
Plugin | EWWW Image Optimizer |
Version | 6.2.3 |
Comparing to | |
See all releases |
Code changes from version 6.2.2 to 6.2.3
- changelog.txt +4 -0
- classes/class-eio-lazy-load.php +3 -5
- common.php +8 -3
- ewww-image-optimizer.php +1 -1
- readme.txt +5 -1
changelog.txt
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
= 6.2.2 =
|
2 |
* added: disable Easy IO's "deep" integration with image_downsize filter via EIO_DISABLE_DEEP_INTEGRATION override
|
3 |
* added: integration with JSON/AJAX respones from Spotlight Social Media Feeds plugin
|
1 |
+
= 6.2.3 =
|
2 |
+
* fixed: db error when MariaDB 10.1 does not permit ALTER for setting default column value
|
3 |
+
* fixed: Lazy Load missing placeholder folder when Easy IO is enabled
|
4 |
+
|
5 |
= 6.2.2 =
|
6 |
* added: disable Easy IO's "deep" integration with image_downsize filter via EIO_DISABLE_DEEP_INTEGRATION override
|
7 |
* added: integration with JSON/AJAX respones from Spotlight Social Media Feeds plugin
|
classes/class-eio-lazy-load.php
CHANGED
@@ -127,12 +127,10 @@ if ( ! class_exists( 'EIO_Lazy_Load' ) ) {
|
|
127 |
}
|
128 |
}
|
129 |
|
130 |
-
if ( $this->
|
131 |
-
$this->allow_piip =
|
132 |
-
} elseif ( ! is_dir( $this->piip_folder ) ) {
|
133 |
-
$this->allow_piip = wp_mkdir_p( $this->piip_folder ) && $this->gd_support();
|
134 |
} else {
|
135 |
-
$this->allow_piip = is_writable( $this->piip_folder ) && $this->gd_support();
|
136 |
}
|
137 |
|
138 |
add_filter( 'wp_lazy_loading_enabled', array( $this, 'wp_lazy_loading_enabled' ), 10, 2 );
|
127 |
}
|
128 |
}
|
129 |
|
130 |
+
if ( ! is_dir( $this->piip_folder ) ) {
|
131 |
+
$this->allow_piip = wp_mkdir_p( $this->piip_folder ) && ( $this->gd_support() || $this->imagick_support() );
|
|
|
|
|
132 |
} else {
|
133 |
+
$this->allow_piip = is_writable( $this->piip_folder ) && ( $this->gd_support() || $this->imagick_support() );
|
134 |
}
|
135 |
|
136 |
add_filter( 'wp_lazy_loading_enabled', array( $this, 'wp_lazy_loading_enabled' ), 10, 2 );
|
common.php
CHANGED
@@ -14,7 +14,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
exit;
|
15 |
}
|
16 |
|
17 |
-
define( 'EWWW_IMAGE_OPTIMIZER_VERSION', '
|
18 |
|
19 |
// Initialize a couple globals.
|
20 |
$eio_debug = '';
|
@@ -1642,8 +1642,13 @@ function ewww_image_optimizer_install_table() {
|
|
1642 |
}
|
1643 |
// Make sure there are valid dates in updated column.
|
1644 |
$wpdb->query( "UPDATE $wpdb->ewwwio_images SET updated = '1971-01-01 00:00:00' WHERE updated < '1001-01-01 00:00:01'" );
|
1645 |
-
if (
|
1646 |
-
|
|
|
|
|
|
|
|
|
|
|
1647 |
} else {
|
1648 |
$wpdb->query( "ALTER TABLE $wpdb->ewwwio_images ALTER updated SET DEFAULT CURRENT_TIMESTAMP" );
|
1649 |
}
|
14 |
exit;
|
15 |
}
|
16 |
|
17 |
+
define( 'EWWW_IMAGE_OPTIMIZER_VERSION', '623' );
|
18 |
|
19 |
// Initialize a couple globals.
|
20 |
$eio_debug = '';
|
1642 |
}
|
1643 |
// Make sure there are valid dates in updated column.
|
1644 |
$wpdb->query( "UPDATE $wpdb->ewwwio_images SET updated = '1971-01-01 00:00:00' WHERE updated < '1001-01-01 00:00:01'" );
|
1645 |
+
if (
|
1646 |
+
false !== strpos( $mysql_version, '5.7.' ) ||
|
1647 |
+
false !== strpos( $mysql_version, '10.1.' )
|
1648 |
+
) {
|
1649 |
+
if ( get_option( 'ewww_image_optimizer_version' ) < 620 ) {
|
1650 |
+
$wpdb->query( "ALTER TABLE $wpdb->ewwwio_images MODIFY updated TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP" );
|
1651 |
+
}
|
1652 |
} else {
|
1653 |
$wpdb->query( "ALTER TABLE $wpdb->ewwwio_images ALTER updated SET DEFAULT CURRENT_TIMESTAMP" );
|
1654 |
}
|
ewww-image-optimizer.php
CHANGED
@@ -13,7 +13,7 @@ Plugin Name: EWWW Image Optimizer
|
|
13 |
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: Exactly WWW
|
16 |
-
Version: 6.2.
|
17 |
Requires at least: 5.4
|
18 |
Requires PHP: 7.1
|
19 |
Author URI: https://ewww.io/
|
13 |
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: Exactly WWW
|
16 |
+
Version: 6.2.3
|
17 |
Requires at least: 5.4
|
18 |
Requires PHP: 7.1
|
19 |
Author URI: https://ewww.io/
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: optimize, image, convert, webp, resize, compress, lazy load, optimization,
|
|
5 |
Requires at least: 5.4
|
6 |
Tested up to: 5.8
|
7 |
Requires PHP: 7.1
|
8 |
-
Stable tag: 6.2.
|
9 |
License: GPLv3
|
10 |
|
11 |
Smaller Images, Faster Sites, Happier Visitors. Comprehensive image optimization that doesn't require a degree in rocket science.
|
@@ -132,6 +132,10 @@ That's not a question, but since I made it up, I'll answer it. See this resource
|
|
132 |
* Feature requests can be viewed and submitted on our [feedback portal](https://feedback.ewww.io/b/features)
|
133 |
* If you would like to help translate this plugin in your language, [join the team](https://translate.wordpress.org/projects/wp-plugins/ewww-image-optimizer/)
|
134 |
|
|
|
|
|
|
|
|
|
135 |
= 6.2.2 =
|
136 |
* added: disable Easy IO's "deep" integration with image_downsize filter via EIO_DISABLE_DEEP_INTEGRATION override
|
137 |
* added: integration with JSON/AJAX respones from Spotlight Social Media Feeds plugin
|
5 |
Requires at least: 5.4
|
6 |
Tested up to: 5.8
|
7 |
Requires PHP: 7.1
|
8 |
+
Stable tag: 6.2.3
|
9 |
License: GPLv3
|
10 |
|
11 |
Smaller Images, Faster Sites, Happier Visitors. Comprehensive image optimization that doesn't require a degree in rocket science.
|
132 |
* Feature requests can be viewed and submitted on our [feedback portal](https://feedback.ewww.io/b/features)
|
133 |
* If you would like to help translate this plugin in your language, [join the team](https://translate.wordpress.org/projects/wp-plugins/ewww-image-optimizer/)
|
134 |
|
135 |
+
= 6.2.3 =
|
136 |
+
* fixed: db error when MariaDB 10.1 does not permit ALTER for setting default column value
|
137 |
+
* fixed: Lazy Load missing placeholder folder when Easy IO is enabled
|
138 |
+
|
139 |
= 6.2.2 =
|
140 |
* added: disable Easy IO's "deep" integration with image_downsize filter via EIO_DISABLE_DEEP_INTEGRATION override
|
141 |
* added: integration with JSON/AJAX respones from Spotlight Social Media Feeds plugin
|