Changeset 1894664
- Timestamp:
- 06/18/2018 02:59:28 PM (8 years ago)
- Location:
- wp-image-optimizer/trunk
- Files:
-
- 4 edited
-
README.txt (modified) (3 diffs)
-
inc/admin/views/html-wp-image-optimizer-admin-display.php (modified) (1 diff)
-
inc/core/class-init.php (modified) (1 diff)
-
wp-image-optimizer.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-image-optimizer/trunk/README.txt
r1894052 r1894664 1 === WP Image Optimizer ===1 === WP Image Optimizer === 2 2 Contributors: zulugrid, nir0ma 3 3 Tags: image, images, attachments, attachment, optimization, compress, littleutils, opt-jpg, opt-gig, opt-png, compression, lossy, lossless … … 6 6 Tested up to: 4.9.6 7 7 Requires PHP: 5.6.0 8 Stable tag: 1.1.4 8 Stable tag: 1.1.4.1 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 134 134 == Changelog == 135 135 136 = 1.1.5 =136 = 1.1.5.1 = 137 137 * Delete cron job when disabled 138 138 -
wp-image-optimizer/trunk/inc/admin/views/html-wp-image-optimizer-admin-display.php
r1892003 r1894664 13 13 ?> 14 14 <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> 16 16 <?php 17 17 $total = $this->get_files_sum(true); 18 var_dump(get_option( $this->plugin_name.'_enable_cron' )); 18 19 ?> 19 20 <div class="wpio-container"> -
wp-image-optimizer/trunk/inc/core/class-init.php
r1894052 r1894664 197 197 if ( !wp_next_scheduled( 'wpio_optimize_images' ) && get_option( $this->plugin_name.'_enable_cron' ) == TRUE ) { 198 198 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'); 201 202 } 202 203 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 16 16 * Plugin URI: https://wordpress.org/plugins/wp-image-optimizer/ 17 17 * 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 19 19 * Author: Niroma 20 20 * Author URI: https://www.niroma.net/ … … 40 40 define( NS . 'PLUGIN_NAME', 'wp-image-optimizer' ); 41 41 42 define( NS . 'PLUGIN_VERSION', '1.1.5 ' );42 define( NS . 'PLUGIN_VERSION', '1.1.5.1' ); 43 43 44 44 define( NS . 'PLUGIN_NAME_DIR', plugin_dir_path( __FILE__ ) );
Note: See TracChangeset
for help on using the changeset viewer.