Changeset 3279073
- Timestamp:
- 04/22/2025 12:58:07 PM (10 months ago)
- Location:
- optimole-wp
- Files:
-
- 14 deleted
- 8 edited
- 1 copied
-
tags/4.0.2 (copied) (copied from optimole-wp/trunk)
-
tags/4.0.2/CHANGELOG.md (deleted)
-
tags/4.0.2/README.md (deleted)
-
tags/4.0.2/inc/media_rename/attachment_edit.php (modified) (1 diff)
-
tags/4.0.2/inc/tag_replacer.php (modified) (1 diff)
-
tags/4.0.2/optimole-wp.php (modified) (2 diffs)
-
tags/4.0.2/readme.txt (modified) (2 diffs)
-
tags/4.0.2/vendor/codeinwp/optimole-sdk/README.md (deleted)
-
tags/4.0.2/vendor/codeinwp/themeisle-sdk/CHANGELOG.md (deleted)
-
tags/4.0.2/vendor/enshrined/svg-sanitize/README.md (deleted)
-
tags/4.0.2/vendor/symfony/polyfill-php80/README.md (deleted)
-
tags/4.0.2/wp-scripts.config.js (deleted)
-
trunk/CHANGELOG.md (deleted)
-
trunk/README.md (deleted)
-
trunk/inc/media_rename/attachment_edit.php (modified) (1 diff)
-
trunk/inc/tag_replacer.php (modified) (1 diff)
-
trunk/optimole-wp.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/vendor/codeinwp/optimole-sdk/README.md (deleted)
-
trunk/vendor/codeinwp/themeisle-sdk/CHANGELOG.md (deleted)
-
trunk/vendor/enshrined/svg-sanitize/README.md (deleted)
-
trunk/vendor/symfony/polyfill-php80/README.md (deleted)
-
trunk/wp-scripts.config.js (deleted)
Legend:
- Unmodified
- Added
- Removed
-
optimole-wp/tags/4.0.2/inc/media_rename/attachment_edit.php
r3272237 r3279073 86 86 */ 87 87 public function add_attachment_fields( $form_fields, $post ) { 88 if ( ! function_exists( 'get_current_screen' ) ) { 89 return $form_fields; 90 } 91 88 92 $screen = get_current_screen(); 89 93 -
optimole-wp/tags/4.0.2/inc/tag_replacer.php
r3276044 r3279073 86 86 } 87 87 $sizes = Optml_App_Replacer::image_sizes(); 88 88 if ( OPTML_DEBUG ) { 89 do_action( 'optml_log', 'filter_image_src_get_dimensions: ' . $image_src . ' ' . $width . ' ' . $height . ' ' . print_r( $image_meta, true ) ); 90 } 91 if ( $width === 'auto' && $height === 'auto' && isset( $image_meta['width'], $image_meta['height'] ) ) { 92 return [ 93 $image_meta['width'], 94 $image_meta['height'], 95 ]; 96 } 89 97 // If this is an image size. Return its dimensions. 90 98 foreach ( $sizes as $size => $args ) { -
optimole-wp/tags/4.0.2/optimole-wp.php
r3276044 r3279073 3 3 * Plugin Name: Image optimization service by Optimole 4 4 * Description: Complete handling of your website images. 5 * Version: 4.0. 15 * Version: 4.0.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.0. 1' );92 define( 'OPTML_VERSION', '4.0.2' ); 93 93 define( 'OPTML_NAMESPACE', 'optml' ); 94 94 define( 'OPTML_BASEFILE', __FILE__ ); -
optimole-wp/tags/4.0.2/readme.txt
r3276044 r3279073 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.4 7 Stable tag: 4.0. 17 Stable tag: 4.0.2 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.en.html … … 248 248 == Changelog == 249 249 250 ##### [Version 4.0. 1](https://github.com/Codeinwp/optimole-wp/compare/v4.0.0...v4.0.1) (2025-04-17)251 252 Fix extraneous quotation mark in image URL when changing fetchpriority. 253 Fix resize behavior for certain image sizes that were improperly resized.250 ##### [Version 4.0.2](https://github.com/Codeinwp/optimole-wp/compare/v4.0.1...v4.0.2) (2025-04-22) 251 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. 254 254 255 255 -
optimole-wp/trunk/inc/media_rename/attachment_edit.php
r3272237 r3279073 86 86 */ 87 87 public function add_attachment_fields( $form_fields, $post ) { 88 if ( ! function_exists( 'get_current_screen' ) ) { 89 return $form_fields; 90 } 91 88 92 $screen = get_current_screen(); 89 93 -
optimole-wp/trunk/inc/tag_replacer.php
r3276044 r3279073 86 86 } 87 87 $sizes = Optml_App_Replacer::image_sizes(); 88 88 if ( OPTML_DEBUG ) { 89 do_action( 'optml_log', 'filter_image_src_get_dimensions: ' . $image_src . ' ' . $width . ' ' . $height . ' ' . print_r( $image_meta, true ) ); 90 } 91 if ( $width === 'auto' && $height === 'auto' && isset( $image_meta['width'], $image_meta['height'] ) ) { 92 return [ 93 $image_meta['width'], 94 $image_meta['height'], 95 ]; 96 } 89 97 // If this is an image size. Return its dimensions. 90 98 foreach ( $sizes as $size => $args ) { -
optimole-wp/trunk/optimole-wp.php
r3276044 r3279073 3 3 * Plugin Name: Image optimization service by Optimole 4 4 * Description: Complete handling of your website images. 5 * Version: 4.0. 15 * Version: 4.0.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.0. 1' );92 define( 'OPTML_VERSION', '4.0.2' ); 93 93 define( 'OPTML_NAMESPACE', 'optml' ); 94 94 define( 'OPTML_BASEFILE', __FILE__ ); -
optimole-wp/trunk/readme.txt
r3276044 r3279073 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.4 7 Stable tag: 4.0. 17 Stable tag: 4.0.2 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.en.html … … 248 248 == Changelog == 249 249 250 ##### [Version 4.0. 1](https://github.com/Codeinwp/optimole-wp/compare/v4.0.0...v4.0.1) (2025-04-17)251 252 Fix extraneous quotation mark in image URL when changing fetchpriority. 253 Fix resize behavior for certain image sizes that were improperly resized.250 ##### [Version 4.0.2](https://github.com/Codeinwp/optimole-wp/compare/v4.0.1...v4.0.2) (2025-04-22) 251 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. 254 254 255 255
Note: See TracChangeset
for help on using the changeset viewer.