Imagify Image Optimizer - Version 1.7.1.3

Version Description

  • 2018/04/12 =
  • Bug Fix: a fatal error with outdated versions of php.
Download this release

Release Info

Developer wp_media
Plugin Icon 128x128 Imagify Image Optimizer
Version 1.7.1.3
Comparing to
See all releases

Code changes from version 1.7.1.2 to 1.7.1.3

Files changed (3) hide show
  1. imagify.php +2 -2
  2. inc/admin/upgrader.php +3 -1
  3. readme.txt +4 -1
imagify.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Imagify
4
  * Plugin URI: https://wordpress.org/plugins/imagify/
5
  * Description: Dramaticaly reduce image file sizes without losing quality, make your website load faster, boost your SEO and save money on your bandwidth using Imagify, the new most advanced image optimization tool.
6
- * Version: 1.7.1.2
7
  * Author: WP Media
8
  * Author URI: https://wp-media.me/
9
  * Licence: GPLv2
@@ -17,7 +17,7 @@
17
  defined( 'ABSPATH' ) || die( 'Cheatin\' uh?' );
18
 
19
  // Imagify defines.
20
- define( 'IMAGIFY_VERSION' , '1.7.1.2' );
21
  define( 'IMAGIFY_SLUG' , 'imagify' );
22
  define( 'IMAGIFY_FILE' , __FILE__ );
23
  define( 'IMAGIFY_PATH' , realpath( plugin_dir_path( IMAGIFY_FILE ) ) . '/' );
3
  * Plugin Name: Imagify
4
  * Plugin URI: https://wordpress.org/plugins/imagify/
5
  * Description: Dramaticaly reduce image file sizes without losing quality, make your website load faster, boost your SEO and save money on your bandwidth using Imagify, the new most advanced image optimization tool.
6
+ * Version: 1.7.1.3
7
  * Author: WP Media
8
  * Author URI: https://wp-media.me/
9
  * Licence: GPLv2
17
  defined( 'ABSPATH' ) || die( 'Cheatin\' uh?' );
18
 
19
  // Imagify defines.
20
+ define( 'IMAGIFY_VERSION' , '1.7.1.3' );
21
  define( 'IMAGIFY_SLUG' , 'imagify' );
22
  define( 'IMAGIFY_FILE' , __FILE__ );
23
  define( 'IMAGIFY_PATH' , realpath( plugin_dir_path( IMAGIFY_FILE ) ) . '/' );
inc/admin/upgrader.php CHANGED
@@ -317,7 +317,9 @@ function imagify_maybe_reset_opcache( $wp_upgrader, $hook_extra ) {
317
  $can_reset = false;
318
  }
319
 
320
- if ( ! empty( ini_get( 'opcache.restrict_api' ) ) && strpos( __FILE__, ini_get( 'opcache.restrict_api' ) ) !== 0 ) {
 
 
321
  $can_reset = false;
322
  }
323
  }
317
  $can_reset = false;
318
  }
319
 
320
+ $restrict_api = ini_get( 'opcache.restrict_api' );
321
+
322
+ if ( $restrict_api && strpos( __FILE__, $restrict_api ) !== 0 ) {
323
  $can_reset = false;
324
  }
325
  }
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: wp_media, GregLone
3
  Tags: compress image, images, performance, optimization, photos, upload, resize, gif, png, jpg, reduce image size, retina
4
  Requires at least: 3.7.0
5
  Tested up to: 4.9.5
6
- Stable tag: 1.7.1.2
7
 
8
  Dramatically reduce image file sizes without losing quality, make your website load faster, boost your SEO and save money on your bandwidth.
9
 
@@ -138,6 +138,9 @@ When the plugin is disabled, your existing images remain optimized. Backups of t
138
  4. Other Media Page
139
 
140
  == Changelog ==
 
 
 
141
  = 1.7.1.2 - 2018/04/12 =
142
  * Improvement: reset OPcache after Imagify being updated.
143
  * Bug Fix: a fatal error upon Imagify update.
3
  Tags: compress image, images, performance, optimization, photos, upload, resize, gif, png, jpg, reduce image size, retina
4
  Requires at least: 3.7.0
5
  Tested up to: 4.9.5
6
+ Stable tag: 1.7.1.3
7
 
8
  Dramatically reduce image file sizes without losing quality, make your website load faster, boost your SEO and save money on your bandwidth.
9
 
138
  4. Other Media Page
139
 
140
  == Changelog ==
141
+ = 1.7.1.3 - 2018/04/12 =
142
+ * Bug Fix: a fatal error with outdated versions of php.
143
+
144
  = 1.7.1.2 - 2018/04/12 =
145
  * Improvement: reset OPcache after Imagify being updated.
146
  * Bug Fix: a fatal error upon Imagify update.