ShortPixel Image Optimizer - Version 5.0.7

Version Description

Release date July 26th, 2022 * Fix: the notification about credits used had some test data, resulting in wrong information (sorry again!); * Language: 0 new strings added, 0 updated, 0 fuzzed, and 0 obsoleted.

Download this release

Release Info

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

Code changes from version 5.0.6 to 5.0.7

class/Controller/AdminNoticesController.php CHANGED
@@ -752,9 +752,7 @@ class AdminNoticesController extends \ShortPixel\Controller
752
 
753
  protected function getMonthAvg() {
754
  $stats = StatsController::getInstance();
755
-
756
- return 100000;
757
-
758
  // Count how many months have some optimized images.
759
  for($i = 4, $count = 0; $i>=1; $i--) {
760
  if($count == 0 && $stats->find('period', 'months', $i) == 0)
752
 
753
  protected function getMonthAvg() {
754
  $stats = StatsController::getInstance();
755
+
 
 
756
  // Count how many months have some optimized images.
757
  for($i = 4, $count = 0; $i>=1; $i--) {
758
  if($count == 0 && $stats->find('period', 'months', $i) == 0)
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.0
6
  Requires PHP: 5.6
7
- Stable tag: 5.0.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -309,6 +309,11 @@ Add HTTP basic authentication credentials by defining these constants in wp-conf
309
 
310
  == Changelog ==
311
 
 
 
 
 
 
312
  = 5.0.6 =
313
  Release date July 25th, 2022
314
  * Fix: the "Search and Migrate All" tool now contains a fix for many cases where the message "Could not create backup" shows up;
4
  Requires at least: 4.8.0
5
  Tested up to: 6.0
6
  Requires PHP: 5.6
7
+ Stable tag: 5.0.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
309
 
310
  == Changelog ==
311
 
312
+ = 5.0.7 =
313
+ Release date July 26th, 2022
314
+ * Fix: the notification about credits used had some test data, resulting in wrong information (sorry again!);
315
+ * Language: 0 new strings added, 0 updated, 0 fuzzed, and 0 obsoleted.
316
+
317
  = 5.0.6 =
318
  Release date July 25th, 2022
319
  * Fix: the "Search and Migrate All" tool now contains a fix for many cases where the message "Could not create backup" shows up;
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.0.6
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.0.6");
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.0.7
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.0.7");
35
 
36
  define('SHORTPIXEL_BACKUP', 'ShortpixelBackups');
37
  define('SHORTPIXEL_MAX_FAIL_RETRIES', 3);