Plugin Directory

Changeset 1894664


Ignore:
Timestamp:
06/18/2018 02:59:28 PM (8 years ago)
Author:
nir0ma
Message:

1.1.5.1

Location:
wp-image-optimizer/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wp-image-optimizer/trunk/README.txt

    r1894052 r1894664  
    1 === WP Image Optimizer ===
     1=== WP Image Optimizer ===
    22Contributors: zulugrid, nir0ma
    33Tags: image, images, attachments, attachment, optimization, compress, littleutils, opt-jpg, opt-gig, opt-png, compression, lossy, lossless
     
    66Tested up to: 4.9.6
    77Requires PHP: 5.6.0
    8 Stable tag: 1.1.4
     8Stable tag: 1.1.4.1
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    134134== Changelog ==
    135135
    136 = 1.1.5 =
     136= 1.1.5.1 =
    137137* Delete cron job when disabled
    138138
  • wp-image-optimizer/trunk/inc/admin/views/html-wp-image-optimizer-admin-display.php

    r1892003 r1894664  
    1313?>
    1414<div class="wrap">
    15     <h2><?php _e( 'WP Image Optimizer', $this->plugin_text_domain ); ?></h2>
     15    <h2><?php _e( 'WP Image Optimizer', $this->plugin_text_domain ); ?> V.<?php echo $this->version; ?></h2>
    1616    <?php   
    1717    $total = $this->get_files_sum(true);
     18    var_dump(get_option( $this->plugin_name.'_enable_cron' ));
    1819    ?>
    1920    <div class="wpio-container">
  • wp-image-optimizer/trunk/inc/core/class-init.php

    r1894052 r1894664  
    197197        if ( !wp_next_scheduled( 'wpio_optimize_images' ) && get_option( $this->plugin_name.'_enable_cron' ) == TRUE ) {
    198198            wp_schedule_event( time(), 'hourly', 'wpio_optimize_images' );
    199         } else if ( wp_next_scheduled( 'wpio_optimize_images' ) && get_option( $this->plugin_name.'_enable_cron' ) != TRUE ) {
    200             wp_clear_scheduled_hook("cron_image_optimizer");
     199        }
     200        if ( wp_next_scheduled( 'wpio_optimize_images' ) && empty(get_option( $this->plugin_name.'_enable_cron' )) ) {
     201            wp_clear_scheduled_hook('wpio_optimize_images');
    201202        }
    202203        if (get_option( $this->plugin_name.'_enable_cron' ) == TRUE) $this->loader->add_action( 'wpio_optimize_images', $plugin_admin, 'cron_image_optimizer' );
  • wp-image-optimizer/trunk/wp-image-optimizer.php

    r1894052 r1894664  
    1616 * Plugin URI:        https://wordpress.org/plugins/wp-image-optimizer/
    1717 * Description:       Reduce image file sizes and improve website performance using Linux littleutils image optimizers within WordPress.
    18  * Version:           1.1.5
     18 * Version:           1.1.5.1
    1919 * Author:            Niroma
    2020 * Author URI:        https://www.niroma.net/
     
    4040define( NS . 'PLUGIN_NAME', 'wp-image-optimizer' );
    4141
    42 define( NS . 'PLUGIN_VERSION', '1.1.5' );
     42define( NS . 'PLUGIN_VERSION', '1.1.5.1' );
    4343
    4444define( NS . 'PLUGIN_NAME_DIR', plugin_dir_path( __FILE__ ) );
Note: See TracChangeset for help on using the changeset viewer.