ShortPixel Image Optimizer - Version 5.1.1

Version Description

Release date October 20th, 2022 * Fix: a fatal error for PHP 7.2 and lower was discovered and fixed by @KZeni, thanks! * Language: 0 new strings added, 0 updated, 0 fuzzed, and 0 deprecated.

Download this release

Release Info

Developer petredobrescu
Plugin Icon 128x128 ShortPixel Image Optimizer
Version 5.1.1
Comparing to
See all releases

Code changes from version 5.1.0 to 5.1.1

class/Controller/AdminNoticesController.php CHANGED
@@ -222,7 +222,7 @@ class AdminNoticesController extends \ShortPixel\Controller
222
  '<a href="' . $link2 . '" target="_blank">', '</a>',
223
  '</p>', '<p>',
224
  '<a href="' . $link3 . '" >', '</a>',
225
- '</p>',
226
  );
227
  $notice = Notices::addNormal($message);
228
  Notices::makePersistent($notice, self::MSG_FEATURE_SMARTCROP, YEAR_IN_SECONDS);
222
  '<a href="' . $link2 . '" target="_blank">', '</a>',
223
  '</p>', '<p>',
224
  '<a href="' . $link3 . '" >', '</a>',
225
+ '</p>'
226
  );
227
  $notice = Notices::addNormal($message);
228
  Notices::makePersistent($notice, self::MSG_FEATURE_SMARTCROP, YEAR_IN_SECONDS);
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: convert webp, optimize images, image optimization, resize, compressor, ima
4
  Requires at least: 4.8.0
5
  Tested up to: 6.1
6
  Requires PHP: 5.6
7
- Stable tag: 5.1.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -348,6 +348,12 @@ Add HTTP basic authentication credentials by defining these constants in wp-conf
348
 
349
  == Changelog ==
350
 
 
 
 
 
 
 
351
  = 5.1.0 =
352
  Release date October 20th, 2022
353
  * New: added SmartCropping, especially useful for eCommerce sites;
4
  Requires at least: 4.8.0
5
  Tested up to: 6.1
6
  Requires PHP: 5.6
7
+ Stable tag: 5.1.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
348
 
349
  == Changelog ==
350
 
351
+ = 5.1.1 =
352
+ Release date October 20th, 2022
353
+ * Fix: a fatal error for PHP 7.2 and lower was discovered and fixed by @KZeni, thanks!
354
+ * Language: 0 new strings added, 0 updated, 0 fuzzed, and 0 deprecated.
355
+
356
+
357
  = 5.1.0 =
358
  Release date October 20th, 2022
359
  * New: added SmartCropping, especially useful for eCommerce sites;
wp-shortpixel.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: ShortPixel Image Optimizer
4
  * Plugin URI: https://shortpixel.com/
5
  * Description: ShortPixel optimizes images automatically, while guarding the quality of your images. Check your <a href="/wp-admin/options-general.php?page=wp-shortpixel-settings" target="_blank">Settings &gt; ShortPixel</a> page on how to start optimizing your image library and make your website load faster.
6
- * Version: 5.1.0
7
  * Author: ShortPixel
8
  * Author URI: https://shortpixel.com
9
  * GitHub Plugin URI: https://github.com/short-pixel-optimizer/shortpixel-image-optimiser
@@ -31,7 +31,7 @@ if (! defined('SHORTPIXEL_RESET_ON_ACTIVATE'))
31
  define('SHORTPIXEL_PLUGIN_FILE', __FILE__);
32
  define('SHORTPIXEL_PLUGIN_DIR', __DIR__);
33
 
34
- define('SHORTPIXEL_IMAGE_OPTIMISER_VERSION', "5.1.0");
35
 
36
  define('SHORTPIXEL_BACKUP', 'ShortpixelBackups');
37
  define('SHORTPIXEL_MAX_FAIL_RETRIES', 3);
3
  * Plugin Name: ShortPixel Image Optimizer
4
  * Plugin URI: https://shortpixel.com/
5
  * Description: ShortPixel optimizes images automatically, while guarding the quality of your images. Check your <a href="/wp-admin/options-general.php?page=wp-shortpixel-settings" target="_blank">Settings &gt; ShortPixel</a> page on how to start optimizing your image library and make your website load faster.
6
+ * Version: 5.1.1
7
  * Author: ShortPixel
8
  * Author URI: https://shortpixel.com
9
  * GitHub Plugin URI: https://github.com/short-pixel-optimizer/shortpixel-image-optimiser
31
  define('SHORTPIXEL_PLUGIN_FILE', __FILE__);
32
  define('SHORTPIXEL_PLUGIN_DIR', __DIR__);
33
 
34
+ define('SHORTPIXEL_IMAGE_OPTIMISER_VERSION', "5.1.1");
35
 
36
  define('SHORTPIXEL_BACKUP', 'ShortpixelBackups');
37
  define('SHORTPIXEL_MAX_FAIL_RETRIES', 3);