Plugin Directory

Changeset 2142148


Ignore:
Timestamp:
08/19/2019 07:28:38 PM (6 years ago)
Author:
nerijuso
Message:

Commiting new version: 1.4.3.6.

Location:
cheetaho-image-optimizer/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cheetaho-image-optimizer/trunk/admin/class-cheetaho-optimizer.php

    r2109143 r2142148  
    418418    private function optimize_image( $image_path, $image_id, $wp_image_meta_data = array() )
    419419    {
     420        $this->removeWCommerceFilters();
     421
    420422        $first_img_time = get_option( '_cheetaho_first_opt_images' );
    421423
     
    726728    function optimize_after_wr2x_retina_file_added( $attachment_id, $local_image_path = false, $size_name ) {
    727729        if ( false !== $local_image_path ) {
     730            $this->removeWCommerceFilters();
    728731            $image_path = wp_get_attachment_image_src( $attachment_id, $size_name ); // get the file URL
    729732
     
    733736        }
    734737    }
     738
     739    function removeWCommerceFilters()
     740    {
     741        add_filter( 'woocommerce_resize_images', '__return_false' );
     742        add_filter( 'woocommerce_background_image_regeneration', '__return_false' );
     743    }
    735744}
  • cheetaho-image-optimizer/trunk/cheetaho.php

    r2109143 r2142148  
    44 * Plugin URI: https://cheetaho.com/
    55 * Description: CheetahO optimizes images automatically. Check your <a href="options-general.php?page=cheetaho-image-optimizer" target="_blank">Settings &gt; 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.5
     6 * Version: 1.4.3.6
    77 * Author: CheetahO
    88 * Author URI: https://cheetaho.com
     
    1919 * Currently plugin version.
    2020 */
    21 define( 'CHEETAHO_VERSION', '1.4.3.5' );
     21define( 'CHEETAHO_VERSION', '1.4.3.6' );
    2222define( 'CHEETAHO_DB_VERSION', '1.0' );
    2323
  • cheetaho-image-optimizer/trunk/readme.txt

    r2109143 r2142148  
    44Requires at least: 4.4
    55Tested up to: 5.2
    6 Stable tag: 1.4.3.5
     6Stable tag: 1.4.3.6
    77Requires PHP: 5.6
    88License: GPLv2 or later
     
    158158
    159159== Changelog ==
     160= 1.4.3.6 =
     161* Small improvements in admin interface
     162* Fix performance issue when website is using woocommerce plugin
    160163
    161164= 1.4.3.5 =
Note: See TracChangeset for help on using the changeset viewer.