Changeset 2142148
- Timestamp:
- 08/19/2019 07:28:38 PM (6 years ago)
- Location:
- cheetaho-image-optimizer/trunk
- Files:
-
- 3 edited
-
admin/class-cheetaho-optimizer.php (modified) (3 diffs)
-
cheetaho.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cheetaho-image-optimizer/trunk/admin/class-cheetaho-optimizer.php
r2109143 r2142148 418 418 private function optimize_image( $image_path, $image_id, $wp_image_meta_data = array() ) 419 419 { 420 $this->removeWCommerceFilters(); 421 420 422 $first_img_time = get_option( '_cheetaho_first_opt_images' ); 421 423 … … 726 728 function optimize_after_wr2x_retina_file_added( $attachment_id, $local_image_path = false, $size_name ) { 727 729 if ( false !== $local_image_path ) { 730 $this->removeWCommerceFilters(); 728 731 $image_path = wp_get_attachment_image_src( $attachment_id, $size_name ); // get the file URL 729 732 … … 733 736 } 734 737 } 738 739 function removeWCommerceFilters() 740 { 741 add_filter( 'woocommerce_resize_images', '__return_false' ); 742 add_filter( 'woocommerce_background_image_regeneration', '__return_false' ); 743 } 735 744 } -
cheetaho-image-optimizer/trunk/cheetaho.php
r2109143 r2142148 4 4 * Plugin URI: https://cheetaho.com/ 5 5 * Description: CheetahO optimizes images automatically. Check your <a href="options-general.php?page=cheetaho-image-optimizer" target="_blank">Settings > CheetahO</a> page on how to start optimizing your image library and make your website load faster. Do not forget to update these settings after plugin update. 6 * Version: 1.4.3. 56 * Version: 1.4.3.6 7 7 * Author: CheetahO 8 8 * Author URI: https://cheetaho.com … … 19 19 * Currently plugin version. 20 20 */ 21 define( 'CHEETAHO_VERSION', '1.4.3. 5' );21 define( 'CHEETAHO_VERSION', '1.4.3.6' ); 22 22 define( 'CHEETAHO_DB_VERSION', '1.0' ); 23 23 -
cheetaho-image-optimizer/trunk/readme.txt
r2109143 r2142148 4 4 Requires at least: 4.4 5 5 Tested up to: 5.2 6 Stable tag: 1.4.3. 56 Stable tag: 1.4.3.6 7 7 Requires PHP: 5.6 8 8 License: GPLv2 or later … … 158 158 159 159 == Changelog == 160 = 1.4.3.6 = 161 * Small improvements in admin interface 162 * Fix performance issue when website is using woocommerce plugin 160 163 161 164 = 1.4.3.5 =
Note: See TracChangeset
for help on using the changeset viewer.