Version Description
- fix bug when quota expires
Download this release
Release Info
Developer | ShortPixel |
Plugin | ShortPixel Image Optimizer |
Version | 4.2.7 |
Comparing to | |
See all releases |
Code changes from version 4.2.6 to 4.2.7
- readme.txt +5 -1
- wp-shortpixel.php +3 -3
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: image optimizer, image optimization, compress pdf, compress jpeg, compress
|
|
5 |
|
6 |
Requires at least: 3.2.0
|
7 |
Tested up to: 4.7
|
8 |
-
Stable tag: 4.2.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -217,6 +217,10 @@ The ShortPixel team is here to help. <a href="https://shortpixel.com/contact">Co
|
|
217 |
|
218 |
== Changelog ==
|
219 |
|
|
|
|
|
|
|
|
|
220 |
= 4.2.6 =
|
221 |
|
222 |
* add the webp files as thumbs to the sizes array in metadata so they are automatically used by themes that use srcset.
|
5 |
|
6 |
Requires at least: 3.2.0
|
7 |
Tested up to: 4.7
|
8 |
+
Stable tag: 4.2.7
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
217 |
|
218 |
== Changelog ==
|
219 |
|
220 |
+
= 4.2.7 =
|
221 |
+
|
222 |
+
* fix bug when quota expires
|
223 |
+
|
224 |
= 4.2.6 =
|
225 |
|
226 |
* add the webp files as thumbs to the sizes array in metadata so they are automatically used by themes that use srcset.
|
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="options-general.php?page=wp-shortpixel" target="_blank">Settings > ShortPixel</a> page on how to start optimizing your image library and make your website load faster.
|
6 |
-
* Version: 4.2.
|
7 |
* Author: ShortPixel
|
8 |
* Author URI: https://shortpixel.com
|
9 |
* Text Domain: shortpixel-image-optimiser
|
@@ -16,7 +16,7 @@ define('SP_RESET_ON_ACTIVATE', false); //if true TODO set false
|
|
16 |
|
17 |
define('SP_AFFILIATE_CODE', '');
|
18 |
|
19 |
-
define('PLUGIN_VERSION', "4.2.
|
20 |
define('SP_MAX_TIMEOUT', 10);
|
21 |
define('SP_VALIDATE_MAX_TIMEOUT', 15);
|
22 |
define('SP_BACKUP', 'ShortpixelBackups');
|
@@ -2066,7 +2066,7 @@ class WPShortPixel {
|
|
2066 |
|
2067 |
public function resetQuotaExceeded() {
|
2068 |
if( $this->_settings->quotaExceeded == 1) {
|
2069 |
-
$dismissed = $this->_settings->dismissedNotices;
|
2070 |
unset($dismissed['exceed']);
|
2071 |
$this->_settings->dismissedNotices = $dismissed;
|
2072 |
}
|
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="options-general.php?page=wp-shortpixel" target="_blank">Settings > ShortPixel</a> page on how to start optimizing your image library and make your website load faster.
|
6 |
+
* Version: 4.2.7
|
7 |
* Author: ShortPixel
|
8 |
* Author URI: https://shortpixel.com
|
9 |
* Text Domain: shortpixel-image-optimiser
|
16 |
|
17 |
define('SP_AFFILIATE_CODE', '');
|
18 |
|
19 |
+
define('PLUGIN_VERSION', "4.2.7");
|
20 |
define('SP_MAX_TIMEOUT', 10);
|
21 |
define('SP_VALIDATE_MAX_TIMEOUT', 15);
|
22 |
define('SP_BACKUP', 'ShortpixelBackups');
|
2066 |
|
2067 |
public function resetQuotaExceeded() {
|
2068 |
if( $this->_settings->quotaExceeded == 1) {
|
2069 |
+
$dismissed = $this->_settings->dismissedNotices ? $this->_settings->dismissedNotices : array();
|
2070 |
unset($dismissed['exceed']);
|
2071 |
$this->_settings->dismissedNotices = $dismissed;
|
2072 |
}
|