Version Description
- 2018/12/18 =
- Improvement: prevent "unknown error" messages that some users are getting since yesterday.
Download this release
Release Info
Developer | wp_media |
Plugin | Imagify Image Optimizer |
Version | 1.8.4.1 |
Comparing to | |
See all releases |
Code changes from version 1.8.4 to 1.8.4.1
- assets/css/files-list.css +0 -0
- assets/css/files-list.min.css +0 -0
- assets/images/big-blue-check.png +0 -0
- assets/images/icon-alert.svg +0 -0
- assets/images/icon-arrow-choice.png +0 -0
- assets/images/icon-arrow-choice.svg +0 -0
- assets/images/icon-doc-image.svg +0 -0
- assets/images/icon-external.svg +0 -0
- assets/images/icon-level.svg +0 -0
- assets/images/icon-load.svg +0 -0
- assets/images/icon-lock.png +0 -0
- assets/images/icon-lock.svg +0 -0
- assets/images/icon-pack.png +0 -0
- assets/images/icon-pack.svg +0 -0
- assets/images/icon-time.svg +0 -0
- assets/images/imagify-logo.png +0 -0
- assets/images/imagify-menu-bar-de.jpg +0 -0
- assets/images/imagify-menu-bar-en.jpg +0 -0
- assets/images/imagify-menu-bar-es.jpg +0 -0
- assets/images/imagify-menu-bar-fr.jpg +0 -0
- assets/images/imagify-menu-bar-it.jpg +0 -0
- assets/images/lazyload.png +0 -0
- assets/images/logo-wprocket.png +0 -0
- assets/images/logo-wprocket.svg +0 -0
- assets/images/logo-wprocket@2x.png +0 -0
- assets/images/pic-ericwaltr.jpg +0 -0
- assets/images/pic-srhdesign.jpg +0 -0
- assets/images/spinner.gif +0 -0
- assets/images/upload-image.png +0 -0
- assets/js/chart.js +0 -0
- assets/js/chart.min.js +0 -0
- assets/js/files-list.js +0 -0
- assets/js/files-list.min.js +0 -0
- assets/js/formdata-polyfill.js +0 -0
- assets/js/formdata-polyfill.min.js +0 -0
- assets/js/imagify-gulp.js +0 -0
- assets/js/imagify-gulp.min.js +0 -0
- assets/js/imagify-wp-retina-2x.js +0 -0
- assets/js/imagify-wp-retina-2x.min.js +0 -0
- imagify.php +2 -2
- inc/3rd-party/amazon-s3-and-cloudfront/inc/classes/class-imagify-as3cf-attachment.php +0 -0
- inc/3rd-party/amazon-s3-and-cloudfront/inc/classes/class-imagify-as3cf.php +0 -0
- inc/3rd-party/hosting/siteground.php +0 -0
- inc/3rd-party/hosting/wordpress-com.php +0 -0
- inc/3rd-party/hosting/wpengine.php +0 -0
- inc/3rd-party/nextgen-gallery/inc/admin/ajax.php +0 -0
- inc/3rd-party/nextgen-gallery/inc/admin/bulk.php +0 -0
- inc/3rd-party/nextgen-gallery/inc/admin/enqueue.php +0 -0
- inc/3rd-party/nextgen-gallery/inc/admin/gallery.php +0 -0
- inc/3rd-party/nextgen-gallery/inc/admin/heartbeat.php +0 -0
- inc/3rd-party/nextgen-gallery/inc/admin/menu.php +0 -0
- inc/3rd-party/nextgen-gallery/inc/classes/class-imagify-ngg-attachment.php +0 -0
- inc/3rd-party/nextgen-gallery/inc/classes/class-imagify-ngg-db.php +0 -0
- inc/3rd-party/nextgen-gallery/inc/common/attachments.php +0 -0
- inc/3rd-party/nextgen-gallery/inc/functions/admin-stats.php +0 -0
- inc/3rd-party/nextgen-gallery/inc/functions/attachments.php +0 -0
- inc/3rd-party/nextgen-gallery/inc/functions/common.php +0 -0
- inc/3rd-party/regenerate-thumbnails/inc/classes/class-imagify-regenerate-thumbnails.php +0 -0
- inc/3rd-party/wp-retina-2x/inc/classes/class-imagify-wp-retina-2x-core.php +0 -0
- inc/3rd-party/wp-retina-2x/inc/classes/class-imagify-wp-retina-2x.php +0 -0
- inc/3rd-party/wp-rocket.php +0 -0
- inc/3rd-party/wp-time-capsule/inc/classes/class-imagify-wp-time-capsule.php +0 -0
- inc/3rd-party/wp-time-capsule/wp-time-capsule.php +0 -0
- inc/admin/custom-folders.php +0 -0
- inc/classes/class-imagify-abstract-attachment.php +0 -0
- inc/classes/class-imagify-abstract-cron.php +0 -0
- inc/classes/class-imagify-abstract-db.php +0 -0
- inc/classes/class-imagify-abstract-options.php +0 -0
- inc/classes/class-imagify-attachment.php +0 -0
- inc/classes/class-imagify-auto-optimization.php +0 -0
- inc/classes/class-imagify-cron-library-size.php +0 -0
- inc/classes/class-imagify-cron-rating.php +0 -0
- inc/classes/class-imagify-cron-sync-files.php +0 -0
- inc/classes/class-imagify-custom-folders.php +0 -0
- inc/classes/class-imagify-data.php +0 -0
- inc/classes/class-imagify-db.php +0 -0
- inc/classes/class-imagify-file-attachment.php +0 -0
- inc/classes/class-imagify-files-db.php +0 -0
- inc/classes/class-imagify-files-iterator.php +0 -0
- inc/classes/class-imagify-files-recursive-iterator.php +0 -0
- inc/classes/class-imagify-files-scan.php +0 -0
- inc/classes/class-imagify-files-stats.php +0 -0
- inc/classes/class-imagify-filesystem.php +0 -0
- inc/classes/class-imagify-folders-db.php +0 -0
- inc/classes/class-imagify-options.php +0 -0
- inc/classes/class-imagify-requirements.php +0 -0
- inc/classes/class-imagify-settings.php +0 -0
- inc/classes/class-imagify-views.php +0 -0
- inc/classes/class-imagify.php +29 -7
- inc/functions/admin-ui.php +0 -0
- inc/functions/deprecated.php +0 -0
- readme.txt +5 -2
assets/css/files-list.css
CHANGED
File without changes
|
assets/css/files-list.min.css
CHANGED
File without changes
|
assets/images/big-blue-check.png
CHANGED
File without changes
|
assets/images/icon-alert.svg
CHANGED
File without changes
|
assets/images/icon-arrow-choice.png
CHANGED
File without changes
|
assets/images/icon-arrow-choice.svg
CHANGED
File without changes
|
assets/images/icon-doc-image.svg
CHANGED
File without changes
|
assets/images/icon-external.svg
CHANGED
File without changes
|
assets/images/icon-level.svg
CHANGED
File without changes
|
assets/images/icon-load.svg
CHANGED
File without changes
|
assets/images/icon-lock.png
CHANGED
File without changes
|
assets/images/icon-lock.svg
CHANGED
File without changes
|
assets/images/icon-pack.png
CHANGED
File without changes
|
assets/images/icon-pack.svg
CHANGED
File without changes
|
assets/images/icon-time.svg
CHANGED
File without changes
|
assets/images/imagify-logo.png
CHANGED
File without changes
|
assets/images/imagify-menu-bar-de.jpg
CHANGED
File without changes
|
assets/images/imagify-menu-bar-en.jpg
CHANGED
File without changes
|
assets/images/imagify-menu-bar-es.jpg
CHANGED
File without changes
|
assets/images/imagify-menu-bar-fr.jpg
CHANGED
File without changes
|
assets/images/imagify-menu-bar-it.jpg
CHANGED
File without changes
|
assets/images/lazyload.png
CHANGED
File without changes
|
assets/images/logo-wprocket.png
CHANGED
File without changes
|
assets/images/logo-wprocket.svg
CHANGED
File without changes
|
assets/images/logo-wprocket@2x.png
CHANGED
File without changes
|
assets/images/pic-ericwaltr.jpg
CHANGED
File without changes
|
assets/images/pic-srhdesign.jpg
CHANGED
File without changes
|
assets/images/spinner.gif
CHANGED
File without changes
|
assets/images/upload-image.png
CHANGED
File without changes
|
assets/js/chart.js
CHANGED
File without changes
|
assets/js/chart.min.js
CHANGED
File without changes
|
assets/js/files-list.js
CHANGED
File without changes
|
assets/js/files-list.min.js
CHANGED
File without changes
|
assets/js/formdata-polyfill.js
CHANGED
File without changes
|
assets/js/formdata-polyfill.min.js
CHANGED
File without changes
|
assets/js/imagify-gulp.js
CHANGED
File without changes
|
assets/js/imagify-gulp.min.js
CHANGED
File without changes
|
assets/js/imagify-wp-retina-2x.js
CHANGED
File without changes
|
assets/js/imagify-wp-retina-2x.min.js
CHANGED
File without changes
|
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.8.4
|
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.8.4' );
|
21 |
define( 'IMAGIFY_WP_MIN', '4.0' );
|
22 |
define( 'IMAGIFY_SLUG', 'imagify' );
|
23 |
define( 'IMAGIFY_FILE', __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.8.4.1
|
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.8.4.1' );
|
21 |
define( 'IMAGIFY_WP_MIN', '4.0' );
|
22 |
define( 'IMAGIFY_SLUG', 'imagify' );
|
23 |
define( 'IMAGIFY_FILE', __FILE__ );
|
inc/3rd-party/amazon-s3-and-cloudfront/inc/classes/class-imagify-as3cf-attachment.php
CHANGED
File without changes
|
inc/3rd-party/amazon-s3-and-cloudfront/inc/classes/class-imagify-as3cf.php
CHANGED
File without changes
|
inc/3rd-party/hosting/siteground.php
CHANGED
File without changes
|
inc/3rd-party/hosting/wordpress-com.php
CHANGED
File without changes
|
inc/3rd-party/hosting/wpengine.php
CHANGED
File without changes
|
inc/3rd-party/nextgen-gallery/inc/admin/ajax.php
CHANGED
File without changes
|
inc/3rd-party/nextgen-gallery/inc/admin/bulk.php
CHANGED
File without changes
|
inc/3rd-party/nextgen-gallery/inc/admin/enqueue.php
CHANGED
File without changes
|
inc/3rd-party/nextgen-gallery/inc/admin/gallery.php
CHANGED
File without changes
|
inc/3rd-party/nextgen-gallery/inc/admin/heartbeat.php
CHANGED
File without changes
|
inc/3rd-party/nextgen-gallery/inc/admin/menu.php
CHANGED
File without changes
|
inc/3rd-party/nextgen-gallery/inc/classes/class-imagify-ngg-attachment.php
CHANGED
File without changes
|
inc/3rd-party/nextgen-gallery/inc/classes/class-imagify-ngg-db.php
CHANGED
File without changes
|
inc/3rd-party/nextgen-gallery/inc/common/attachments.php
CHANGED
File without changes
|
inc/3rd-party/nextgen-gallery/inc/functions/admin-stats.php
CHANGED
File without changes
|
inc/3rd-party/nextgen-gallery/inc/functions/attachments.php
CHANGED
File without changes
|
inc/3rd-party/nextgen-gallery/inc/functions/common.php
CHANGED
File without changes
|
inc/3rd-party/regenerate-thumbnails/inc/classes/class-imagify-regenerate-thumbnails.php
CHANGED
File without changes
|
inc/3rd-party/wp-retina-2x/inc/classes/class-imagify-wp-retina-2x-core.php
CHANGED
File without changes
|
inc/3rd-party/wp-retina-2x/inc/classes/class-imagify-wp-retina-2x.php
CHANGED
File without changes
|
inc/3rd-party/wp-rocket.php
CHANGED
File without changes
|
inc/3rd-party/wp-time-capsule/inc/classes/class-imagify-wp-time-capsule.php
CHANGED
File without changes
|
inc/3rd-party/wp-time-capsule/wp-time-capsule.php
CHANGED
File without changes
|
inc/admin/custom-folders.php
CHANGED
File without changes
|
inc/classes/class-imagify-abstract-attachment.php
CHANGED
File without changes
|
inc/classes/class-imagify-abstract-cron.php
CHANGED
File without changes
|
inc/classes/class-imagify-abstract-db.php
CHANGED
File without changes
|
inc/classes/class-imagify-abstract-options.php
CHANGED
File without changes
|
inc/classes/class-imagify-attachment.php
CHANGED
File without changes
|
inc/classes/class-imagify-auto-optimization.php
CHANGED
File without changes
|
inc/classes/class-imagify-cron-library-size.php
CHANGED
File without changes
|
inc/classes/class-imagify-cron-rating.php
CHANGED
File without changes
|
inc/classes/class-imagify-cron-sync-files.php
CHANGED
File without changes
|
inc/classes/class-imagify-custom-folders.php
CHANGED
File without changes
|
inc/classes/class-imagify-data.php
CHANGED
File without changes
|
inc/classes/class-imagify-db.php
CHANGED
File without changes
|
inc/classes/class-imagify-file-attachment.php
CHANGED
File without changes
|
inc/classes/class-imagify-files-db.php
CHANGED
File without changes
|
inc/classes/class-imagify-files-iterator.php
CHANGED
File without changes
|
inc/classes/class-imagify-files-recursive-iterator.php
CHANGED
File without changes
|
inc/classes/class-imagify-files-scan.php
CHANGED
File without changes
|
inc/classes/class-imagify-files-stats.php
CHANGED
File without changes
|
inc/classes/class-imagify-filesystem.php
CHANGED
File without changes
|
inc/classes/class-imagify-folders-db.php
CHANGED
File without changes
|
inc/classes/class-imagify-options.php
CHANGED
File without changes
|
inc/classes/class-imagify-requirements.php
CHANGED
File without changes
|
inc/classes/class-imagify-settings.php
CHANGED
File without changes
|
inc/classes/class-imagify-views.php
CHANGED
File without changes
|
inc/classes/class-imagify.php
CHANGED
@@ -11,7 +11,7 @@ class Imagify extends Imagify_Deprecated {
|
|
11 |
*
|
12 |
* @var string
|
13 |
*/
|
14 |
-
const VERSION = '1.2';
|
15 |
/**
|
16 |
* The Imagify API endpoint.
|
17 |
*
|
@@ -454,10 +454,9 @@ class Imagify extends Imagify_Deprecated {
|
|
454 |
return new WP_Error( 'curl', 'cURL isn\'t installed on the server.' );
|
455 |
}
|
456 |
|
457 |
-
$url = self::API_ENDPOINT . $url;
|
458 |
-
|
459 |
try {
|
460 |
-
$
|
|
|
461 |
|
462 |
if ( ! is_resource( $ch ) ) {
|
463 |
throw new Exception( 'Could not initialize a new cURL handle' );
|
@@ -489,13 +488,36 @@ class Imagify extends Imagify_Deprecated {
|
|
489 |
curl_setopt( $ch, CURLOPT_POSTFIELDS, $args['post_data'] );
|
490 |
}
|
491 |
|
|
|
|
|
|
|
|
|
|
|
|
|
492 |
curl_setopt( $ch, CURLOPT_URL, $url );
|
493 |
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
|
|
|
494 |
curl_setopt( $ch, CURLOPT_HTTPHEADER, $this->headers );
|
495 |
curl_setopt( $ch, CURLOPT_TIMEOUT, $args['timeout'] );
|
496 |
-
|
497 |
-
curl_setopt( $ch,
|
498 |
-
curl_setopt( $ch,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
499 |
|
500 |
$response = curl_exec( $ch );
|
501 |
$error = curl_error( $ch );
|
11 |
*
|
12 |
* @var string
|
13 |
*/
|
14 |
+
const VERSION = '1.2.1';
|
15 |
/**
|
16 |
* The Imagify API endpoint.
|
17 |
*
|
454 |
return new WP_Error( 'curl', 'cURL isn\'t installed on the server.' );
|
455 |
}
|
456 |
|
|
|
|
|
457 |
try {
|
458 |
+
$url = self::API_ENDPOINT . $url;
|
459 |
+
$ch = @curl_init();
|
460 |
|
461 |
if ( ! is_resource( $ch ) ) {
|
462 |
throw new Exception( 'Could not initialize a new cURL handle' );
|
488 |
curl_setopt( $ch, CURLOPT_POSTFIELDS, $args['post_data'] );
|
489 |
}
|
490 |
|
491 |
+
if ( defined( 'CURLOPT_PROTOCOLS' ) ) {
|
492 |
+
curl_setopt( $ch, CURLOPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS );
|
493 |
+
}
|
494 |
+
|
495 |
+
$user_agent = apply_filters( 'http_headers_useragent', 'WordPress/' . get_bloginfo( 'version' ) . '; ' . get_bloginfo( 'url' ) );
|
496 |
+
|
497 |
curl_setopt( $ch, CURLOPT_URL, $url );
|
498 |
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
|
499 |
+
curl_setopt( $ch, CURLOPT_HEADER, false );
|
500 |
curl_setopt( $ch, CURLOPT_HTTPHEADER, $this->headers );
|
501 |
curl_setopt( $ch, CURLOPT_TIMEOUT, $args['timeout'] );
|
502 |
+
curl_setopt( $ch, CURLOPT_CONNECTTIMEOUT, $args['timeout'] );
|
503 |
+
curl_setopt( $ch, CURLOPT_USERAGENT, $user_agent );
|
504 |
+
@curl_setopt( $ch, CURLOPT_FOLLOWLOCATION, false );
|
505 |
+
curl_setopt( $ch, CURLOPT_SSL_VERIFYHOST, false );
|
506 |
+
curl_setopt( $ch, CURLOPT_SSL_VERIFYPEER, false );
|
507 |
+
|
508 |
+
/**
|
509 |
+
* Tell which http version to use with cURL during image optimization.
|
510 |
+
*
|
511 |
+
* @since 1.8.4.1
|
512 |
+
* @author Grégory Viguier
|
513 |
+
*
|
514 |
+
* @param $use_version_1_0 bool True to use version 1.0. False for 1.1. Default is true.
|
515 |
+
*/
|
516 |
+
if ( apply_filters( 'imagify_curl_http_version_1_0', true ) ) {
|
517 |
+
curl_setopt( $ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0 );
|
518 |
+
} else {
|
519 |
+
curl_setopt( $ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1 );
|
520 |
+
}
|
521 |
|
522 |
$response = curl_exec( $ch );
|
523 |
$error = curl_error( $ch );
|
inc/functions/admin-ui.php
CHANGED
File without changes
|
inc/functions/deprecated.php
CHANGED
File without changes
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
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: 4.0.0
|
5 |
-
Tested up to:
|
6 |
-
Stable tag: 1.8.4
|
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.8.4 - 2018/11/12 =
|
142 |
* Improvement: automatic optimization is delayed further, it now happens after the image original data is stored in the database. This new process should be more reliable.
|
143 |
* Improvement: compatibility with wordpress.com.
|
2 |
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: 4.0.0
|
5 |
+
Tested up to: 5.0.1
|
6 |
+
Stable tag: 1.8.4.1
|
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.8.4.1 - 2018/12/18 =
|
142 |
+
* Improvement: prevent "unknown error" messages that some users are getting since yesterday.
|
143 |
+
|
144 |
= 1.8.4 - 2018/11/12 =
|
145 |
* Improvement: automatic optimization is delayed further, it now happens after the image original data is stored in the database. This new process should be more reliable.
|
146 |
* Improvement: compatibility with wordpress.com.
|