Skip to content

Commit

Permalink
ExactDN learns a new trick, metadata removal, releasing 4.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
nosilver4u committed Nov 21, 2017
1 parent 5f2e22c commit 08d7818
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
**Requires at least:** 4.6
**Requires PHP:** 5.3
**Tested up to:** 4.9
**Stable tag:** 4.0.2
**Stable tag:** 4.0.3
**License:** GPLv3
**Build Status:** [![Build Status](https://travis-ci.org/nosilver4u/ewww-image-optimizer.svg?branch=master)](https://travis-ci.org/nosilver4u/ewww-image-optimizer)

Expand Down
8 changes: 8 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
= 4.0.3 =
* added: support for additional ExactDN root domains
* added: button to remove WebP rewrite rules
* added: informational notice on thumbnail rebuild pages of how the plugins interact
* changed: WebP rewrite rules removed automatically when ExactDN is enabled, use Alt WebP instead
* changed: ExactDN now removes metadata if option is enabled
* fixed: multisite settings set to defaults when single-site resize settings are submitted

= 4.0.2 =
* fixed: WooCommerce images still not working with Alt WebP in all cases
* fixed: ob_clean() breaks AJAX actions when there is no buffer to clean
Expand Down
3 changes: 3 additions & 0 deletions classes/class-exactdn.php
Original file line number Diff line number Diff line change
Expand Up @@ -1421,6 +1421,9 @@ function generate_url( $image_url, $args = array(), $scheme = null ) {
return $image_url;
}

if ( ewww_image_optimizer_get_option( 'ewww_image_optimizer_jpegtran_copy' ) ) {
$args['strip'] = 'all';
}
/**
* Filter the original image URL before it goes through ExactDN.
*
Expand Down
5 changes: 1 addition & 4 deletions common.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,16 @@
// TODO: write some conversion tests.
// TODO: do a bottom paginator for the show optimized images table.
// TODO: check this patch, to see if the use of 'full' causes any issues: https://core.trac.wordpress.org/ticket/37840 .
// TODO: perhaps have an optional footer thingy that says how many images have been optimized.
// TODO: integrate AGR, since it's "abandoned", but possibly using gifsicle for better GIFs.
// TODO: use this: https://codex.wordpress.org/AJAX_in_Plugins#The_post-load_JavaScript_Event .
// TODO: on images without srscet, add 2x and 3x versions anyway.
// TODO: check what happens to WebP images when restoring original from backups.
// TODO: remove htaccess rules when Alt WebP turns on, and have a button to remove the rules too.
// TODO: add metadata param for ExactDN, or add instructions to docs or something like that.
// TODO: use got_mod_rewrite to warn folks not to bother with webp htaccess.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}

define( 'EWWW_IMAGE_OPTIMIZER_VERSION', '402.0' );
define( 'EWWW_IMAGE_OPTIMIZER_VERSION', '403.0' );

// Initialize a couple globals.
$ewww_debug = '';
Expand Down
2 changes: 1 addition & 1 deletion ewww-image-optimizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
Description: Reduce file sizes for images within WordPress including NextGEN Gallery and GRAND FlAGallery. Uses jpegtran, optipng/pngout, and gifsicle.
Author: Shane Bishop
Text Domain: ewww-image-optimizer
Version: 4.0.2
Version: 4.0.3
Author URI: https://ewww.io/
License: GPLv3
*/
Expand Down
3 changes: 2 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: image, compress, optimize, optimization, lossless, lossy, seo, jpegmini, t
Requires at least: 4.6
Tested up to: 4.9
Requires PHP: 5.3
Stable tag: 4.0.2
Stable tag: 4.0.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.
Expand Down Expand Up @@ -184,6 +184,7 @@ Pngout, TinyJPG/TinyPNG, JPEGmini, and Pngquant were recommended by EWWW IO user
* added: button to remove WebP rewrite rules
* added: informational notice on thumbnail rebuild pages of how the plugins interact
* changed: WebP rewrite rules removed automatically when ExactDN is enabled, use Alt WebP instead
* changed: ExactDN now removes metadata if option is enabled
* fixed: multisite settings set to defaults when single-site resize settings are submitted

= 4.0.2 =
Expand Down

0 comments on commit 08d7818

Please sign in to comment.