Version Description
- fix error for older WP versions which don't have wp_raise_memory_limit
Download this release
Release Info
Developer | ShortPixel |
Plugin | ShortPixel Image Optimizer |
Version | 4.9.1 |
Comparing to | |
See all releases |
Code changes from version 4.9.0 to 4.9.1
- class/shortpixel-png2jpg.php +4 -2
- readme.txt +4 -1
- wp-shortpixel.php +1 -1
class/shortpixel-png2jpg.php
CHANGED
@@ -10,7 +10,9 @@ class ShortPixelPng2Jpg {
|
|
10 |
private $_settings = null;
|
11 |
|
12 |
public function __construct($settings){
|
13 |
-
|
|
|
|
|
14 |
$this->_settings = $settings;
|
15 |
}
|
16 |
|
@@ -328,4 +330,4 @@ class ShortPixelPng2Jpg {
|
|
328 |
}
|
329 |
return $data;
|
330 |
}
|
331 |
-
}
|
10 |
private $_settings = null;
|
11 |
|
12 |
public function __construct($settings){
|
13 |
+
if(function_exists('wp_raise_memory_limit')) {
|
14 |
+
wp_raise_memory_limit( 'image' );
|
15 |
+
}
|
16 |
$this->_settings = $settings;
|
17 |
}
|
18 |
|
330 |
}
|
331 |
return $data;
|
332 |
}
|
333 |
+
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: compress, image, compression, optimize, image optimizer, image optimiser,
|
|
4 |
Requires at least: 3.2.0
|
5 |
Tested up to: 4.9
|
6 |
Requires PHP: 5.2
|
7 |
-
Stable tag: 4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -228,6 +228,9 @@ The ShortPixel team is here to help. <a href="https://shortpixel.com/contact">Co
|
|
228 |
|
229 |
== Changelog ==
|
230 |
|
|
|
|
|
|
|
231 |
= 4.9.0 =
|
232 |
* inline help beacon
|
233 |
* fix exclude patterns not working after last update
|
4 |
Requires at least: 3.2.0
|
5 |
Tested up to: 4.9
|
6 |
Requires PHP: 5.2
|
7 |
+
Stable tag: 4.9.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
228 |
|
229 |
== Changelog ==
|
230 |
|
231 |
+
= 4.9.1 =
|
232 |
+
* fix error for older WP versions which don't have wp_raise_memory_limit
|
233 |
+
|
234 |
= 4.9.0 =
|
235 |
* inline help beacon
|
236 |
* fix exclude patterns not working after last update
|
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.9.
|
7 |
* Author: ShortPixel
|
8 |
* Author URI: https://shortpixel.com
|
9 |
* Text Domain: shortpixel-image-optimiser
|
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.9.1
|
7 |
* Author: ShortPixel
|
8 |
* Author URI: https://shortpixel.com
|
9 |
* Text Domain: shortpixel-image-optimiser
|