Version Description
Release date: 6th April 2020 * Fix for MySQL index errors for MySQL 5.6; * Language 0 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted.
Download this release
Release Info
| Developer | petredobrescu |
| Plugin | |
| Version | 4.17.1 |
| Comparing to | |
| See all releases | |
Code changes from version 4.17.0 to 4.17.1
- class/db/shortpixel-custom-meta-dao.php +2 -2
- readme.txt +8 -1
- wp-shortpixel.php +2 -2
class/db/shortpixel-custom-meta-dao.php
CHANGED
|
@@ -122,10 +122,10 @@ class ShortPixelCustomMetaDao {
|
|
| 122 |
));
|
| 123 |
// Set up indexes, not handled well by WP DBDelta
|
| 124 |
$this->addIfMissing("UNIQUE INDEX", $this->db->getPrefix()."shortpixel_folders", "spf_path_md5", "path_md5");
|
| 125 |
-
$this->addIfMissing("UNIQUE INDEX", $this->db->getPrefix()."shortpixel_folders", "spf_path", "path");
|
| 126 |
|
| 127 |
$this->addIfMissing("UNIQUE INDEX", $this->db->getPrefix()."shortpixel_meta", "sp_path_md5", "path_md5");
|
| 128 |
-
$this->addIfMissing("UNIQUE INDEX", $this->db->getPrefix()."shortpixel_meta", "sp_path", "path");
|
| 129 |
$this->addIfMissing("FOREIGN KEY", $this->db->getPrefix()."shortpixel_meta", "fk_shortpixel_meta_folder", "folder_id",
|
| 130 |
$this->db->getPrefix()."shortpixel_folders", "id");
|
| 131 |
|
| 122 |
));
|
| 123 |
// Set up indexes, not handled well by WP DBDelta
|
| 124 |
$this->addIfMissing("UNIQUE INDEX", $this->db->getPrefix()."shortpixel_folders", "spf_path_md5", "path_md5");
|
| 125 |
+
// $this->addIfMissing("UNIQUE INDEX", $this->db->getPrefix()."shortpixel_folders", "spf_path", "path");
|
| 126 |
|
| 127 |
$this->addIfMissing("UNIQUE INDEX", $this->db->getPrefix()."shortpixel_meta", "sp_path_md5", "path_md5");
|
| 128 |
+
// $this->addIfMissing("UNIQUE INDEX", $this->db->getPrefix()."shortpixel_meta", "sp_path", "path");
|
| 129 |
$this->addIfMissing("FOREIGN KEY", $this->db->getPrefix()."shortpixel_meta", "fk_shortpixel_meta_folder", "folder_id",
|
| 130 |
$this->db->getPrefix()."shortpixel_folders", "id");
|
| 131 |
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Tags: compressor, image, compression, optimize, image optimizer, image optimiser
|
|
| 4 |
Requires at least: 3.2.0
|
| 5 |
Tested up to: 5.4
|
| 6 |
Requires PHP: 5.3
|
| 7 |
-
Stable tag: 4.17.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -281,6 +281,13 @@ Hide the Cloudflare settings by defining these constants in wp-config.php:
|
|
| 281 |
|
| 282 |
== Changelog ==
|
| 283 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 284 |
= 4.17.0 =
|
| 285 |
|
| 286 |
Release date: 2nd April 2020
|
| 4 |
Requires at least: 3.2.0
|
| 5 |
Tested up to: 5.4
|
| 6 |
Requires PHP: 5.3
|
| 7 |
+
Stable tag: 4.17.1
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 281 |
|
| 282 |
== Changelog ==
|
| 283 |
|
| 284 |
+
= 4.17.1 =
|
| 285 |
+
|
| 286 |
+
Release date: 6th April 2020
|
| 287 |
+
* Fix for MySQL index errors for MySQL 5.6;
|
| 288 |
+
* Language – 0 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted.
|
| 289 |
+
|
| 290 |
+
|
| 291 |
= 4.17.0 =
|
| 292 |
|
| 293 |
Release date: 2nd April 2020
|
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-settings" target="_blank">Settings > ShortPixel</a> page on how to start optimizing your image library and make your website load faster.
|
| 6 |
-
* Version: 4.17.
|
| 7 |
* Author: ShortPixel
|
| 8 |
* Author URI: https://shortpixel.com
|
| 9 |
* Text Domain: shortpixel-image-optimiser
|
|
@@ -19,7 +19,7 @@ define('SHORTPIXEL_PLUGIN_DIR', __DIR__);
|
|
| 19 |
|
| 20 |
//define('SHORTPIXEL_AFFILIATE_CODE', '');
|
| 21 |
|
| 22 |
-
define('SHORTPIXEL_IMAGE_OPTIMISER_VERSION', "4.17.
|
| 23 |
define('SHORTPIXEL_MAX_TIMEOUT', 10);
|
| 24 |
define('SHORTPIXEL_VALIDATE_MAX_TIMEOUT', 15);
|
| 25 |
define('SHORTPIXEL_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-settings" target="_blank">Settings > ShortPixel</a> page on how to start optimizing your image library and make your website load faster.
|
| 6 |
+
* Version: 4.17.1
|
| 7 |
* Author: ShortPixel
|
| 8 |
* Author URI: https://shortpixel.com
|
| 9 |
* Text Domain: shortpixel-image-optimiser
|
| 19 |
|
| 20 |
//define('SHORTPIXEL_AFFILIATE_CODE', '');
|
| 21 |
|
| 22 |
+
define('SHORTPIXEL_IMAGE_OPTIMISER_VERSION', "4.17.1");
|
| 23 |
define('SHORTPIXEL_MAX_TIMEOUT', 10);
|
| 24 |
define('SHORTPIXEL_VALIDATE_MAX_TIMEOUT', 15);
|
| 25 |
define('SHORTPIXEL_BACKUP', 'ShortpixelBackups');
|
