EWWW Image Optimizer - Version 4.3.1

Version Description

  • fixed: fatal error on older WP versions due to missing privacy policy function
Download this release

Release Info

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

Code changes from version 4.3.0 to 4.3.1

Files changed (4) hide show
  1. changelog.txt +3 -0
  2. common.php +4 -1
  3. ewww-image-optimizer.php +1 -1
  4. readme.txt +4 -1
changelog.txt CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  = 4.3.0 =
2
  * added: Alt WebP enables instant conversion with ExactDN, no need for bulk optimize
3
  * added: links within settings and other notices for contextual help
1
+ = 4.3.1 =
2
+ * fixed: fatal error on older WP versions due to missing privacy policy function
3
+
4
  = 4.3.0 =
5
  * added: Alt WebP enables instant conversion with ExactDN, no need for bulk optimize
6
  * added: links within settings and other notices for contextual help
common.php CHANGED
@@ -29,7 +29,7 @@ if ( ! defined( 'ABSPATH' ) ) {
29
  exit;
30
  }
31
 
32
- define( 'EWWW_IMAGE_OPTIMIZER_VERSION', '430.0' );
33
 
34
  // Initialize a couple globals.
35
  $ewww_debug = '';
@@ -836,6 +836,9 @@ function ewww_image_optimizer_ajax_compat_check() {
836
  * Note that this is just a suggestion, it should be customized for your site.
837
  */
838
  function ewww_image_optimizer_privacy_policy_content() {
 
 
 
839
  $content = '<p class="privacy-policy-tutorial">';
840
  if ( ! defined( 'EWWW_IO_CLOUD_PLUGIN' ) || ! EWWW_IO_CLOUD_PLUGIN ) {
841
  $content .= wp_kses_post( __( 'By default, the EWWW Image Optimizer does not store any personal data nor share it with anyone.', 'ewww-image-optimizer' ) ) . '</p><p>';
29
  exit;
30
  }
31
 
32
+ define( 'EWWW_IMAGE_OPTIMIZER_VERSION', '431.0' );
33
 
34
  // Initialize a couple globals.
35
  $ewww_debug = '';
836
  * Note that this is just a suggestion, it should be customized for your site.
837
  */
838
  function ewww_image_optimizer_privacy_policy_content() {
839
+ if ( ! function_exists( 'wp_add_privacy_policy_content' ) ) {
840
+ return;
841
+ }
842
  $content = '<p class="privacy-policy-tutorial">';
843
  if ( ! defined( 'EWWW_IO_CLOUD_PLUGIN' ) || ! EWWW_IO_CLOUD_PLUGIN ) {
844
  $content .= wp_kses_post( __( 'By default, the EWWW Image Optimizer does not store any personal data nor share it with anyone.', 'ewww-image-optimizer' ) ) . '</p><p>';
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.3.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.3.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.4
8
- Stable tag: 4.3.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.3.0 =
178
  * added: Alt WebP enables instant conversion with ExactDN, no need for bulk optimize
179
  * added: links within settings and other notices for contextual help
5
  Requires at least: 4.6
6
  Tested up to: 4.9
7
  Requires PHP: 5.4
8
+ Stable tag: 4.3.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.3.1 =
178
+ * fixed: fatal error on older WP versions due to missing privacy policy function
179
+
180
  = 4.3.0 =
181
  * added: Alt WebP enables instant conversion with ExactDN, no need for bulk optimize
182
  * added: links within settings and other notices for contextual help