Version Description
- fix wrong custom path in some cases
Download this release
Release Info
Developer | ShortPixel |
Plugin | ShortPixel Image Optimizer |
Version | 4.4.2 |
Comparing to | |
See all releases |
Code changes from version 4.4.1 to 4.4.2
- readme.txt +7 -3
- res/js/short-pixel.js +1 -1
- wp-shortpixel.php +2 -2
readme.txt
CHANGED
@@ -5,8 +5,8 @@ Tags: compress, image, compression, optimize, image optimizer, image compression
|
|
5 |
|
6 |
|
7 |
Requires at least: 3.2.0
|
8 |
-
Tested up to: 4.
|
9 |
-
Stable tag: 4.4.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -61,7 +61,7 @@ Make an instant <a rel="friend" href="http://shortpixel.com/image-compression-te
|
|
61 |
|
62 |
**How much it costs?**
|
63 |
ShortPixel comes with 100 free credits/month and additional credits can be bought with as little as $4.99 for 5,000 image credits.
|
64 |
-
Check out <a rel="friend" href="https://shortpixel.com/pricing" target="_blank">our prices</a
|
65 |
|
66 |
> **Testimonials:**
|
67 |
> ★★★★★ **A Super Plugin works very well 62% reduction overall.** [robertvarns](https://wordpress.org/support/topic/a-super-plugin-works-very-well-62-reduction-overall/)
|
@@ -222,6 +222,10 @@ The ShortPixel team is here to help. <a href="https://shortpixel.com/contact">Co
|
|
222 |
|
223 |
== Changelog ==
|
224 |
|
|
|
|
|
|
|
|
|
225 |
= 4.4.1 =
|
226 |
|
227 |
* fix warnings on PHP 7.1 for empty array settings.
|
5 |
|
6 |
|
7 |
Requires at least: 3.2.0
|
8 |
+
Tested up to: 4.8
|
9 |
+
Stable tag: 4.4.2
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
61 |
|
62 |
**How much it costs?**
|
63 |
ShortPixel comes with 100 free credits/month and additional credits can be bought with as little as $4.99 for 5,000 image credits.
|
64 |
+
Check out <a rel="friend" href="https://shortpixel.com/pricing" target="_blank">our prices</a>.
|
65 |
|
66 |
> **Testimonials:**
|
67 |
> ★★★★★ **A Super Plugin works very well 62% reduction overall.** [robertvarns](https://wordpress.org/support/topic/a-super-plugin-works-very-well-62-reduction-overall/)
|
222 |
|
223 |
== Changelog ==
|
224 |
|
225 |
+
= 4.4.2 =
|
226 |
+
|
227 |
+
* fix wrong custom path in some cases
|
228 |
+
|
229 |
= 4.4.1 =
|
230 |
|
231 |
* fix warnings on PHP 7.1 for empty array settings.
|
res/js/short-pixel.js
CHANGED
@@ -281,7 +281,7 @@ var ShortPixel = function() {
|
|
281 |
jQuery(".sp-folder-picker-shade").css("display", "none");
|
282 |
});
|
283 |
jQuery(".sp-folder-picker-popup input.select-folder").click(function(){
|
284 |
-
var subPath = jQuery("UL.jqueryFileTree LI.directory.selected A").attr("rel");
|
285 |
if(subPath) {
|
286 |
var fullPath = jQuery("#customFolderBase").val() + subPath;
|
287 |
if(fullPath.slice(-1) == '/') fullPath = fullPath.slice(0, -1);
|
281 |
jQuery(".sp-folder-picker-shade").css("display", "none");
|
282 |
});
|
283 |
jQuery(".sp-folder-picker-popup input.select-folder").click(function(){
|
284 |
+
var subPath = jQuery("UL.jqueryFileTree LI.directory.selected A").attr("rel").trim();
|
285 |
if(subPath) {
|
286 |
var fullPath = jQuery("#customFolderBase").val() + subPath;
|
287 |
if(fullPath.slice(-1) == '/') fullPath = fullPath.slice(0, -1);
|
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.4.
|
7 |
* Author: ShortPixel
|
8 |
* Author URI: https://shortpixel.com
|
9 |
* Text Domain: shortpixel-image-optimiser
|
@@ -17,7 +17,7 @@ define('SHORTPIXEL_PLUGIN_FILE', __FILE__);
|
|
17 |
|
18 |
define('SP_AFFILIATE_CODE', '');
|
19 |
|
20 |
-
define('PLUGIN_VERSION', "4.4.
|
21 |
define('SP_MAX_TIMEOUT', 10);
|
22 |
define('SP_VALIDATE_MAX_TIMEOUT', 15);
|
23 |
define('SP_BACKUP', 'ShortpixelBackups');
|
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.4.2
|
7 |
* Author: ShortPixel
|
8 |
* Author URI: https://shortpixel.com
|
9 |
* Text Domain: shortpixel-image-optimiser
|
17 |
|
18 |
define('SP_AFFILIATE_CODE', '');
|
19 |
|
20 |
+
define('PLUGIN_VERSION', "4.4.2");
|
21 |
define('SP_MAX_TIMEOUT', 10);
|
22 |
define('SP_VALIDATE_MAX_TIMEOUT', 15);
|
23 |
define('SP_BACKUP', 'ShortpixelBackups');
|