Skip to content

Commit 62c6c6d

Browse files
committed
chore(release): 4.0.2
##### [Version 4.0.2](v4.0.1...v4.0.2) (2025-04-22) - fatal error thrown because get_current_screen function is not loading in certain contexts - enhance image dimension handling when the width-height attributes are not provided.
1 parent b64e455 commit 62c6c6d

File tree

6 files changed

+17
-12
lines changed

6 files changed

+17
-12
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
##### [Version 4.0.2](https://github.com/Codeinwp/optimole-wp/compare/v4.0.1...v4.0.2) (2025-04-22)
2+
3+
- fatal error thrown because get_current_screen function is not loading in certain contexts
4+
- enhance image dimension handling when the width-height attributes are not provided.
5+
16
##### [Version 4.0.1](https://github.com/Codeinwp/optimole-wp/compare/v4.0.0...v4.0.1) (2025-04-17)
27

38
Fix extraneous quotation mark in image URL when changing fetchpriority.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
**Requires at least:** 5.5
55
**Tested up to:** 6.8
66
**Requires PHP:** 7.4
7-
**Stable tag:** 4.0.1
7+
**Stable tag:** 4.0.2
88
**License:** GPLv3
99
**License URI:** https://www.gnu.org/licenses/gpl-3.0.en.html
1010

@@ -247,10 +247,10 @@ Discover how to make the most of Optimole with our detailed and user-friendly [d
247247

248248
## Changelog ##
249249

250-
##### [Version 4.0.1](https://github.com/Codeinwp/optimole-wp/compare/v4.0.0...v4.0.1) (2025-04-17)
250+
##### [Version 4.0.2](https://github.com/Codeinwp/optimole-wp/compare/v4.0.1...v4.0.2) (2025-04-22)
251251

252-
Fix extraneous quotation mark in image URL when changing fetchpriority.
253-
Fix resize behavior for certain image sizes that were improperly resized.
252+
- fatal error thrown because get_current_screen function is not loading in certain contexts
253+
- enhance image dimension handling when the width-height attributes are not provided.
254254

255255

256256

optimole-wp.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Plugin Name: Image optimization service by Optimole
44
* Description: Complete handling of your website images.
5-
* Version: 4.0.1
5+
* Version: 4.0.2
66
* Author: Optimole
77
* Author URI: https://optimole.com
88
* License: GPL-2.0+
@@ -89,7 +89,7 @@ function optml() {
8989
}
9090
define( 'OPTML_URL', plugin_dir_url( __FILE__ ) );
9191
define( 'OPTML_PATH', plugin_dir_path( __FILE__ ) );
92-
define( 'OPTML_VERSION', '4.0.1' );
92+
define( 'OPTML_VERSION', '4.0.2' );
9393
define( 'OPTML_NAMESPACE', 'optml' );
9494
define( 'OPTML_BASEFILE', __FILE__ );
9595
define( 'OPTML_PRODUCT_SLUG', basename( OPTML_PATH ) );

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "optimole-wp",
3-
"version": "4.0.1",
3+
"version": "4.0.2",
44
"description": "Cloud-based image optimization service - WordPress Integration",
55
"repository": {
66
"type": "git",

readme.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: image optimization, convert webp, image optimizer, lazy load, image, optim
44
Requires at least: 5.5
55
Tested up to: 6.8
66
Requires PHP: 7.4
7-
Stable tag: 4.0.1
7+
Stable tag: 4.0.2
88
License: GPLv3
99
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
1010

@@ -247,10 +247,10 @@ Discover how to make the most of Optimole with our detailed and user-friendly [d
247247

248248
== Changelog ==
249249

250-
##### [Version 4.0.1](https://github.com/Codeinwp/optimole-wp/compare/v4.0.0...v4.0.1) (2025-04-17)
250+
##### [Version 4.0.2](https://github.com/Codeinwp/optimole-wp/compare/v4.0.1...v4.0.2) (2025-04-22)
251251

252-
Fix extraneous quotation mark in image URL when changing fetchpriority.
253-
Fix resize behavior for certain image sizes that were improperly resized.
252+
- fatal error thrown because get_current_screen function is not loading in certain contexts
253+
- enhance image dimension handling when the width-height attributes are not provided.
254254

255255

256256

0 commit comments

Comments
 (0)