Skip to content

Commit a564cd4

Browse files
authored
Sync branch [skip ci]
2 parents 817a8fa + 1426679 commit a564cd4

6 files changed

Lines changed: 17 additions & 16 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
##### [Version 4.2.3](https://github.com/Codeinwp/optimole-wp/compare/v4.2.2...v4.2.3) (2026-04-01)
2+
3+
- Refactored Permissions-Policy and Accept-CH headers. The hints value is now dynamically generated based on the current Retina, Smart Scaling, and Network Optimization settings, ensuring that only relevant device-specific optimizations are applied.
4+
- Enhance security.
5+
16
##### [Version 4.2.2](https://github.com/Codeinwp/optimole-wp/compare/v4.2.1...v4.2.2) (2026-03-25)
27

38
- Added a static cache (Optml_Settings) to avoid repeated get_option calls within a single request, improving performance and consistency.

README.md

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

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

249249
## Changelog ##
250250

251-
##### [Version 4.2.2](https://github.com/Codeinwp/optimole-wp/compare/v4.2.1...v4.2.2) (2026-03-25)
251+
##### [Version 4.2.3](https://github.com/Codeinwp/optimole-wp/compare/v4.2.2...v4.2.3) (2026-04-01)
252252

253-
- Added a static cache (Optml_Settings) to avoid repeated get_option calls within a single request, improving performance and consistency.
254-
- Fixed a potential PHP 8.2+ fatal error in get_svg_for by ensuring is always an array before destructuring (e.g. when images are missing or offloaded). Props to [[@fuleinist](https://github.com/fuleinist)](https://github.com/fuleinist) for the contribution.
255-
- Improved optmlSrcsetDetector logic to prevent generating 1x DPR images larger than the original size, fixing incorrect srcset capping. Props to [[@fuleinist](https://github.com/fuleinist)](https://github.com/fuleinist) for the contribution.
256-
- Fixed incorrect notice display when disabling the scaling option.
253+
- Refactored Permissions-Policy and Accept-CH headers. The hints value is now dynamically generated based on the current Retina, Smart Scaling, and Network Optimization settings, ensuring that only relevant device-specific optimizations are applied.
254+
- Enhance security.
257255

258256

259257

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.2.2
5+
* Version: 4.2.3
66
* Author: Optimole
77
* Author URI: https://optimole.com
88
* License: GPL-2.0+
@@ -87,7 +87,7 @@ function optml() {
8787
}
8888
define( 'OPTML_URL', plugin_dir_url( __FILE__ ) );
8989
define( 'OPTML_PATH', plugin_dir_path( __FILE__ ) );
90-
define( 'OPTML_VERSION', '4.2.2' );
90+
define( 'OPTML_VERSION', '4.2.3' );
9191
define( 'OPTML_NAMESPACE', 'optml' );
9292
define( 'OPTML_BASEFILE', __FILE__ );
9393
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.2.2",
3+
"version": "4.2.3",
44
"description": "Cloud-based image optimization service - WordPress Integration",
55
"repository": {
66
"type": "git",

readme.txt

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

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

249249
== Changelog ==
250250

251-
##### [Version 4.2.2](https://github.com/Codeinwp/optimole-wp/compare/v4.2.1...v4.2.2) (2026-03-25)
251+
##### [Version 4.2.3](https://github.com/Codeinwp/optimole-wp/compare/v4.2.2...v4.2.3) (2026-04-01)
252252

253-
- Added a static cache (Optml_Settings) to avoid repeated get_option calls within a single request, improving performance and consistency.
254-
- Fixed a potential PHP 8.2+ fatal error in get_svg_for by ensuring is always an array before destructuring (e.g. when images are missing or offloaded). Props to [[@fuleinist](https://github.com/fuleinist)](https://github.com/fuleinist) for the contribution.
255-
- Improved optmlSrcsetDetector logic to prevent generating 1x DPR images larger than the original size, fixing incorrect srcset capping. Props to [[@fuleinist](https://github.com/fuleinist)](https://github.com/fuleinist) for the contribution.
256-
- Fixed incorrect notice display when disabling the scaling option.
253+
- Refactored Permissions-Policy and Accept-CH headers. The hints value is now dynamically generated based on the current Retina, Smart Scaling, and Network Optimization settings, ensuring that only relevant device-specific optimizations are applied.
254+
- Enhance security.
257255

258256

259257

0 commit comments

Comments
 (0)