Skip to content

Commit

Permalink
releasing version 7.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nosilver4u committed Sep 7, 2023
1 parent 516aa70 commit badafe1
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- php: 8.2
env: WP_VERSION=latest WP_MULTISITE=1 WPSNIFF=1
- php: 8.0
env: WP_VERSION=5.9 WP_MULTISITE=0
env: WP_VERSION=6.0 WP_MULTISITE=0

before_script:
- export PATH="$HOME/.config/composer/vendor/bin:$PATH"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# EWWW Image Optimizer
**Donate link:** https://ewww.io/donate/
**Minimum WordPress:** 5.9
**Minimum WordPress:** 6.0
**Minimum PHP:** 7.3

[![Build Status](https://travis-ci.com/nosilver4u/ewww-image-optimizer.svg?branch=master)](https://app.travis-ci.com/github/nosilver4u/ewww-image-optimizer)
Expand Down Expand Up @@ -43,7 +43,7 @@ With Easy IO, images are automatically compressed, scaled to fit the page and de

If you need assistance using the plugin, please visit our [Support Page](https://ewww.io/contact-us/).

You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team help validate, triage and handle any security vulnerabilities. [Report a security vulnerability.](https://patchstack.com/database/vdp/ewww-image-optimizer)
You may report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team help validate, triage and handle any security vulnerabilities. [Report a security vulnerability.](https://patchstack.com/database/vdp/ewww-image-optimizer)


### Bulk Optimize
Expand Down
6 changes: 6 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
= 7.2.1 =
* changed: Scheduled Optimizer skips image errors faster
* changed: use updated coding standards, and restructure code for async/background functions
* removed: legacy image editor extensions for unmaintained plugins
* security: randomize filename of debug log

= 7.2.0 =
* added: Easy IO rewrites poster/thumbnail image URLs for video elements
* changed: Easy IO + Auto Scale checks images on load and resize events to reduce browser upscaling
Expand Down
14 changes: 11 additions & 3 deletions common.php
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,6 @@ function ewww_image_optimizer_current_screen( $screen ) {
if ( ewww_image_optimizer_get_option( 'ewww_image_optimizer_debug' ) ) {
return;
}
ewwwio_debug_message( 'current screen: ' . $screen->id );
if ( false !== strpos( $screen->id, 'settings_page_ewww-image-optimizer' ) ) {
return;
}
Expand Down Expand Up @@ -11935,7 +11934,7 @@ function ewww_image_optimizer_options( $network = 'singlesite' ) {
$speed_score += 20;
}
} elseif (
( ! class_exists( 'Jetpack' ) || ! Jetpack::is_module_active( 'photon' ) ) &&
( ! class_exists( 'Jetpack' ) || ! method_exists( 'Jetpack', 'is_module_active' ) || ! Jetpack::is_module_active( 'photon' ) ) &&
class_exists( 'EWWW\ExactDN' ) &&
ewww_image_optimizer_get_option( 'ewww_image_optimizer_exactdn' )
) {
Expand Down Expand Up @@ -12541,7 +12540,7 @@ class_exists( 'EWWW\ExactDN' ) &&
);
?>
</p>
<?php if ( class_exists( 'Jetpack' ) && Jetpack::is_module_active( 'photon' ) && ewww_image_optimizer_get_option( 'ewww_image_optimizer_exactdn' ) ) : ?>
<?php if ( class_exists( 'Jetpack' ) && method_exists( 'Jetpack', 'is_module_active' ) && Jetpack::is_module_active( 'photon' ) && ewww_image_optimizer_get_option( 'ewww_image_optimizer_exactdn' ) ) : ?>
<p style='color: red'><?php esc_html_e( 'Inactive, please disable the Site Accelerator option in the Jetpack settings.', 'ewww-image-optimizer' ); ?></p>
<?php elseif ( false !== strpos( $easyio_site_url, 'localhost' ) ) : ?>
<p class="description" style="font-weight: bolder"><?php esc_html_e( 'Easy IO cannot be activated on localhost installs.', 'ewww-image-optimizer' ); ?></p>
Expand Down Expand Up @@ -13446,6 +13445,15 @@ class_exists( 'EWWW\ExactDN' ) &&
</p>
</td>
</tr>
<tr>
<th scope='row'>
<label for='ewww_image_optimizer_plaid'><?php esc_html_e( 'Plaid', 'ewww-image-optimizer' ); ?></label>
</th>
<td>
<input type='checkbox' id='ewww_image_optimizer_plaid' name='ewww_image_optimizer_plaid' value='true' <?php checked( random_int( 0, 1 ) === 1 ); ?> />
<?php esc_html_e( 'What happens when you enable Ludicrous Mode.', 'ewww-image-optimizer' ); ?>
</td>
</tr>
</table>
</div>

Expand Down
6 changes: 3 additions & 3 deletions ewww-image-optimizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
Plugin URI: https://wordpress.org/plugins/ewww-image-optimizer/
Description: Smaller Images, Faster Sites, Happier Visitors. Comprehensive image optimization that doesn't require a degree in rocket science.
Author: Exactly WWW
Version: 7.2.0
Requires at least: 5.9
Version: 7.2.1
Requires at least: 6.0
Requires PHP: 7.3
Author URI: https://ewww.io/
License: GPLv3
Expand All @@ -34,7 +34,7 @@
add_action( 'admin_notices', 'ewww_image_optimizer_dual_plugin' );
} elseif ( false === strpos( add_query_arg( '', '' ), 'ewwwio_disable=1' ) ) {

define( 'EWWW_IMAGE_OPTIMIZER_VERSION', 720.12 );
define( 'EWWW_IMAGE_OPTIMIZER_VERSION', 721 );
// Initialize a global.
$ewww_defer = true;

Expand Down
6 changes: 3 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
Contributors: nosilver4u
Donate link: https://ewww.io/donate/
Tags: optimize, image, convert, webp, resize, compress, lazy load, optimization, lossless, lossy, seo, scale
Requires at least: 5.9
Requires at least: 6.0
Tested up to: 6.3
Requires PHP: 7.3
Stable tag: 7.2.0
Stable tag: 7.2.1
License: GPLv3

Smaller Images, Faster Sites, Happier Visitors. Comprehensive image optimization that doesn't require a degree in rocket science.
Expand Down Expand Up @@ -41,7 +41,7 @@ Do you have an idea to make EWWW IO even better? [Share it and vote on future fe

Found a bug? Report the issue on [GitHub](https://github.com/nosilver4u/ewww-image-optimizer), and we'll get it fixed!

You can report security issues through our Patchstack Vulnerability Disclosure Program. The Patchstack team helps validate, triage and handle any security vulnerabilities. [Report a security vulnerability.](https://patchstack.com/database/vdp/ewww-image-optimizer)
You may report security issues through our Patchstack Vulnerability Disclosure Program. The Patchstack team helps validate, triage and handle any security vulnerabilities. [Report a security vulnerability.](https://patchstack.com/database/vdp/ewww-image-optimizer)

= Bulk Optimize =

Expand Down

0 comments on commit badafe1

Please sign in to comment.