Changeset 3386991
- Timestamp:
- 10/30/2025 10:40:31 AM (4 months ago)
- Location:
- optimole-wp
- Files:
-
- 16 edited
- 1 copied
-
tags/4.1.2 (copied) (copied from optimole-wp/trunk)
-
tags/4.1.2/inc/lazyload_replacer.php (modified) (1 diff)
-
tags/4.1.2/inc/url_replacer.php (modified) (1 diff)
-
tags/4.1.2/optimole-wp.php (modified) (2 diffs)
-
tags/4.1.2/readme.txt (modified) (2 diffs)
-
tags/4.1.2/vendor/codeinwp/optimole-sdk/src/Optimole.php (modified) (1 diff)
-
tags/4.1.2/vendor/codeinwp/optimole-sdk/src/Resource/Image.php (modified) (1 diff)
-
tags/4.1.2/vendor/composer/installed.json (modified) (2 diffs)
-
tags/4.1.2/vendor/composer/installed.php (modified) (1 diff)
-
trunk/inc/lazyload_replacer.php (modified) (1 diff)
-
trunk/inc/url_replacer.php (modified) (1 diff)
-
trunk/optimole-wp.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/vendor/codeinwp/optimole-sdk/src/Optimole.php (modified) (1 diff)
-
trunk/vendor/codeinwp/optimole-sdk/src/Resource/Image.php (modified) (1 diff)
-
trunk/vendor/composer/installed.json (modified) (2 diffs)
-
trunk/vendor/composer/installed.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
optimole-wp/tags/4.1.2/inc/lazyload_replacer.php
r3375733 r3386991 525 525 if ( is_file( $filepath ) ) { 526 526 $sizes = getimagesize( $filepath ); 527 error_log( 'get_svg_for: ' . var_export( $sizes, true ) . ' ' . $url );528 527 wp_cache_add( $key, [ $sizes[0], $sizes[1] ], 'optml_sources', DAY_IN_SECONDS ); 529 528 } -
optimole-wp/tags/4.1.2/inc/url_replacer.php
r3375733 r3386991 268 268 if ( ! empty( $args['resize'] ) ) { 269 269 $this->apply_resize( $image, $args['resize'] ); 270 } elseif ( $this->settings->is_smart_cropping() ) { 271 // If smart cropping is enabled and no resize is set, we apply smart focus since the resize can be triggered from the JS library. 272 $image->smartFocus(); 270 273 } 271 274 -
optimole-wp/tags/4.1.2/optimole-wp.php
r3378645 r3386991 3 3 * Plugin Name: Image optimization service by Optimole 4 4 * Description: Complete handling of your website images. 5 * Version: 4.1. 15 * Version: 4.1.2 6 6 * Author: Optimole 7 7 * Author URI: https://optimole.com … … 90 90 define( 'OPTML_URL', plugin_dir_url( __FILE__ ) ); 91 91 define( 'OPTML_PATH', plugin_dir_path( __FILE__ ) ); 92 define( 'OPTML_VERSION', '4.1. 1' );92 define( 'OPTML_VERSION', '4.1.2' ); 93 93 define( 'OPTML_NAMESPACE', 'optml' ); 94 94 define( 'OPTML_BASEFILE', __FILE__ ); -
optimole-wp/tags/4.1.2/readme.txt
r3378645 r3386991 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.4 7 Stable tag: 4.1. 17 Stable tag: 4.1.2 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.en.html … … 250 250 == Changelog == 251 251 252 ##### [Version 4.1.1](https://github.com/Codeinwp/optimole-wp/compare/v4.1.0...v4.1.1) (2025-10-15) 253 254 - Enhanced security 252 ##### [Version 4.1.2](https://github.com/Codeinwp/optimole-wp/compare/v4.1.1...v4.1.2) (2025-10-30) 253 254 - Remove redundant error log messages 255 - Fix Smart Crop persistence on auto resize images. 255 256 256 257 -
optimole-wp/tags/4.1.2/vendor/codeinwp/optimole-sdk/src/Optimole.php
r3272237 r3386991 34 34 * The Optimole SDK version. 35 35 */ 36 public const VERSION = '1.2. 2';36 public const VERSION = '1.2.3'; 37 37 38 38 /** -
optimole-wp/tags/4.1.2/vendor/codeinwp/optimole-sdk/src/Resource/Image.php
r3272237 r3386991 94 94 95 95 /** 96 * Set the smart focus gravity of the optimized image. 97 */ 98 public function smartFocus() 99 { 100 $this->addProperty(new ImageProperty\GravityProperty('sm')); 101 102 return $this; 103 } 104 105 /** 96 106 * Whether to strip the original image metadata from the optimized image. 97 107 */ -
optimole-wp/tags/4.1.2/vendor/composer/installed.json
r3375733 r3386991 3 3 { 4 4 "name": "codeinwp/optimole-sdk", 5 "version": "v1.2. 2",6 "version_normalized": "1.2. 2.0",5 "version": "v1.2.3", 6 "version_normalized": "1.2.3.0", 7 7 "source": { 8 8 "type": "git", 9 9 "url": "https://github.com/Codeinwp/optimole-php-sdk.git", 10 "reference": " 567557f1067c934a564154dd292a3f343749b538"11 }, 12 "dist": { 13 "type": "zip", 14 "url": "https://api.github.com/repos/Codeinwp/optimole-php-sdk/zipball/ 567557f1067c934a564154dd292a3f343749b538",15 "reference": " 567557f1067c934a564154dd292a3f343749b538",10 "reference": "901d1f2223df875f8ea65998a76049b0341f8dd7" 11 }, 12 "dist": { 13 "type": "zip", 14 "url": "https://api.github.com/repos/Codeinwp/optimole-php-sdk/zipball/901d1f2223df875f8ea65998a76049b0341f8dd7", 15 "reference": "901d1f2223df875f8ea65998a76049b0341f8dd7", 16 16 "shasum": "" 17 17 }, … … 33 33 "guzzlehttp/guzzle": "Use the Guzzle HTTP client to make requests to the API" 34 34 }, 35 "time": "2025- 03-28T18:31:54+00:00",35 "time": "2025-10-15T19:48:30+00:00", 36 36 "type": "library", 37 37 "installation-source": "dist", -
optimole-wp/tags/4.1.2/vendor/composer/installed.php
r3375733 r3386991 12 12 'versions' => array( 13 13 'codeinwp/optimole-sdk' => array( 14 'pretty_version' => 'v1.2. 2',15 'version' => '1.2. 2.0',16 'reference' => ' 567557f1067c934a564154dd292a3f343749b538',14 'pretty_version' => 'v1.2.3', 15 'version' => '1.2.3.0', 16 'reference' => '901d1f2223df875f8ea65998a76049b0341f8dd7', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../codeinwp/optimole-sdk', -
optimole-wp/trunk/inc/lazyload_replacer.php
r3375733 r3386991 525 525 if ( is_file( $filepath ) ) { 526 526 $sizes = getimagesize( $filepath ); 527 error_log( 'get_svg_for: ' . var_export( $sizes, true ) . ' ' . $url );528 527 wp_cache_add( $key, [ $sizes[0], $sizes[1] ], 'optml_sources', DAY_IN_SECONDS ); 529 528 } -
optimole-wp/trunk/inc/url_replacer.php
r3375733 r3386991 268 268 if ( ! empty( $args['resize'] ) ) { 269 269 $this->apply_resize( $image, $args['resize'] ); 270 } elseif ( $this->settings->is_smart_cropping() ) { 271 // If smart cropping is enabled and no resize is set, we apply smart focus since the resize can be triggered from the JS library. 272 $image->smartFocus(); 270 273 } 271 274 -
optimole-wp/trunk/optimole-wp.php
r3378645 r3386991 3 3 * Plugin Name: Image optimization service by Optimole 4 4 * Description: Complete handling of your website images. 5 * Version: 4.1. 15 * Version: 4.1.2 6 6 * Author: Optimole 7 7 * Author URI: https://optimole.com … … 90 90 define( 'OPTML_URL', plugin_dir_url( __FILE__ ) ); 91 91 define( 'OPTML_PATH', plugin_dir_path( __FILE__ ) ); 92 define( 'OPTML_VERSION', '4.1. 1' );92 define( 'OPTML_VERSION', '4.1.2' ); 93 93 define( 'OPTML_NAMESPACE', 'optml' ); 94 94 define( 'OPTML_BASEFILE', __FILE__ ); -
optimole-wp/trunk/readme.txt
r3378645 r3386991 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.4 7 Stable tag: 4.1. 17 Stable tag: 4.1.2 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.en.html … … 250 250 == Changelog == 251 251 252 ##### [Version 4.1.1](https://github.com/Codeinwp/optimole-wp/compare/v4.1.0...v4.1.1) (2025-10-15) 253 254 - Enhanced security 252 ##### [Version 4.1.2](https://github.com/Codeinwp/optimole-wp/compare/v4.1.1...v4.1.2) (2025-10-30) 253 254 - Remove redundant error log messages 255 - Fix Smart Crop persistence on auto resize images. 255 256 256 257 -
optimole-wp/trunk/vendor/codeinwp/optimole-sdk/src/Optimole.php
r3272237 r3386991 34 34 * The Optimole SDK version. 35 35 */ 36 public const VERSION = '1.2. 2';36 public const VERSION = '1.2.3'; 37 37 38 38 /** -
optimole-wp/trunk/vendor/codeinwp/optimole-sdk/src/Resource/Image.php
r3272237 r3386991 94 94 95 95 /** 96 * Set the smart focus gravity of the optimized image. 97 */ 98 public function smartFocus() 99 { 100 $this->addProperty(new ImageProperty\GravityProperty('sm')); 101 102 return $this; 103 } 104 105 /** 96 106 * Whether to strip the original image metadata from the optimized image. 97 107 */ -
optimole-wp/trunk/vendor/composer/installed.json
r3375733 r3386991 3 3 { 4 4 "name": "codeinwp/optimole-sdk", 5 "version": "v1.2. 2",6 "version_normalized": "1.2. 2.0",5 "version": "v1.2.3", 6 "version_normalized": "1.2.3.0", 7 7 "source": { 8 8 "type": "git", 9 9 "url": "https://github.com/Codeinwp/optimole-php-sdk.git", 10 "reference": " 567557f1067c934a564154dd292a3f343749b538"11 }, 12 "dist": { 13 "type": "zip", 14 "url": "https://api.github.com/repos/Codeinwp/optimole-php-sdk/zipball/ 567557f1067c934a564154dd292a3f343749b538",15 "reference": " 567557f1067c934a564154dd292a3f343749b538",10 "reference": "901d1f2223df875f8ea65998a76049b0341f8dd7" 11 }, 12 "dist": { 13 "type": "zip", 14 "url": "https://api.github.com/repos/Codeinwp/optimole-php-sdk/zipball/901d1f2223df875f8ea65998a76049b0341f8dd7", 15 "reference": "901d1f2223df875f8ea65998a76049b0341f8dd7", 16 16 "shasum": "" 17 17 }, … … 33 33 "guzzlehttp/guzzle": "Use the Guzzle HTTP client to make requests to the API" 34 34 }, 35 "time": "2025- 03-28T18:31:54+00:00",35 "time": "2025-10-15T19:48:30+00:00", 36 36 "type": "library", 37 37 "installation-source": "dist", -
optimole-wp/trunk/vendor/composer/installed.php
r3375733 r3386991 12 12 'versions' => array( 13 13 'codeinwp/optimole-sdk' => array( 14 'pretty_version' => 'v1.2. 2',15 'version' => '1.2. 2.0',16 'reference' => ' 567557f1067c934a564154dd292a3f343749b538',14 'pretty_version' => 'v1.2.3', 15 'version' => '1.2.3.0', 16 'reference' => '901d1f2223df875f8ea65998a76049b0341f8dd7', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../codeinwp/optimole-sdk',
Note: See TracChangeset
for help on using the changeset viewer.