PluginProbe ʕ •ᴥ•ʔ
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF / 4.17.0
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF v4.17.0
6.5.2 6.5.1 trunk 1.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.6 1.2.0 1.3.1 1.3.5 1.4.0 1.4.1 1.5.0 1.5.3 1.6.0 1.6.1 1.6.10 1.6.2 1.6.3 1.6.4 1.6.6 1.6.7 1.6.8 1.6.9 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1.0 2.1.1 2.1.10 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 3.0.0 3.0.2 3.0.3 3.0.5 3.0.6 3.0.7 3.0.8 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 3.2.0 3.2.1 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 4.0.0 4.0.1 4.0.2 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4 4.1.5 4.1.7 4.10.0 4.10.1 4.10.2 4.10.3 4.10.4 4.10.5 4.11.0 4.11.1 4.11.2 4.11.3 4.12.0 4.12.1 4.12.2 4.12.3 4.12.4 4.12.5 4.12.6 4.12.7 4.12.8 4.13.0 4.13.1 4.14.0 4.14.1 4.14.2 4.14.3 4.14.4 4.14.5 4.14.6 4.15.0 4.15.1 4.15.2 4.15.3 4.15.4 4.16.0 4.16.1 4.16.2 4.16.3 4.16.4 4.17.0 4.17.1 4.17.2 4.17.3 4.17.4 4.18.0 4.18.1 4.19.0 4.19.1 4.19.2 4.19.3 4.2.0 4.2.1 4.2.2 4.2.4 4.2.5 4.2.6 4.2.7 4.2.8 4.2.9 4.20.0 4.20.1 4.20.2 4.21.0 4.21.1 4.21.2 4.22.0 4.22.1 4.22.10 4.22.2 4.22.3 4.22.4 4.22.5 4.22.6 4.22.7 4.22.8 4.22.9 4.3.0 4.3.1 4.4.0 4.4.1 4.4.2 4.5.0 4.5.1 4.5.2 4.5.3 4.5.5 4.6.0 4.7.0 4.7.1 4.7.2 4.8.0 4.8.1 4.8.2 4.8.4 4.8.5 4.8.6 4.8.7 4.8.8 4.8.9 4.9.0 4.9.1 5.0.0 5.0.1 5.0.2 5.0.3 5.0.4 5.0.5 5.0.6 5.0.7 5.0.8 5.0.9 5.1.0 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.2.0 5.2.1 5.2.2 5.2.3 5.3.0 5.4.0 5.4.1 5.4.2 5.4.3 5.5.0 5.5.1 5.5.2 5.5.3 5.5.4 5.5.5 5.6.0 5.6.1 5.6.2 5.6.3 5.6.4 6.0.0 6.0.1 6.0.2 6.0.3 6.0.4 6.0.5 6.1.0 6.1.1 6.1.2 6.1.3 6.1.4 6.2.0 6.2.1 6.2.2 6.3.0 6.3.1 6.3.2 6.3.3 6.3.4 6.3.5 6.4.0 6.4.1 6.4.2 6.4.3 6.4.4 6.5.0
shortpixel-image-optimiser / readme.txt
shortpixel-image-optimiser Last commit date
build 6 years ago class 6 years ago res 6 years ago changelog.txt 6 years ago readme.txt 6 years ago shortpixel-plugin.php 6 years ago shortpixel_api.php 6 years ago wp-shortpixel-req.php 6 years ago wp-shortpixel.php 6 years ago
readme.txt
539 lines
1 === ShortPixel Image Optimizer ===
2 Contributors: ShortPixel
3 Tags: compressor, image, compression, optimize, image optimizer, image optimiser, image compression, resize, compress pdf, compress jpg, compress png, image compression
4 Requires at least: 3.2.0
5 Tested up to: 5.4
6 Requires PHP: 5.3
7 Stable tag: 4.17.0
8 License: GPLv2 or later
9 License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
11 Speed up your website & boost your SEO by compressing old & new images and PDFs. WebP convert and optimize support.
12
13 == Description ==
14
15 **A freemium easy to use, comprehensive, stable and frequently updated image compression plugin supported by the friendly team that created it. :)**
16
17 Increase your website's SEO ranking, number of visitors and ultimately your sales by optimizing any image or PDF document on your website.
18 ShortPixel is an easy to use, lightweight, install-and-forget-about-it <a href="https://shortpixel.com" target="_blank">image optimization</a> plugin that can compress all your past images and PDF documents with a single click. New images are automatically resized/rescaled and optimized on the fly, in the background. It's also compatible with any gallery, slider or ecommerce plugin.
19
20 **Ready for a quick DEMO? Test <a href="https://wpsandbox.net/" target="_blank">here</a> or <a href="https://sandboxwordpress.com/?htmldata=https://shortpixel.com/sp.html&slug=shortpixel-image-optimiser&redirect=plugins.php&title=Test%20SHORTPIXEL%20Now!&ga=UA-55918546-1" target="_blank">here</a>.**
21
22 Short Pixel uses minimal resources and works well with any shared, cloud, VPS or dedicated web hosting. It can optimize any image you have on your website even the images that aren't listed in Media Library like those in galleries like <a href="https://wordpress.org/plugins/nextgen-gallery/" target="_blank">NextGEN</a>, <a href="https://wordpress.org/plugins/modula-best-grid-gallery/" target="_blank">Modula</a> or added directly via FTP!
23
24 Both lossy and lossless image compression are available for the most common image types (JPG, PNG, GIF and WebP) plus PDF files.
25 We also offer **glossy** JPEG compression which is a very high quality lossy optimization algorithm. Specially designed for photographers!
26 Optimized images mean better user experience, better PageSpeed Insights or GTmetrix results, better Google PageRank and more visitors.
27
28 Make an instant <a href="http://shortpixel.com/image-compression-test" target="_blank">image compression test</a> on your site or <a href="http://shortpixel.com/online-image-compression" target="_blank">compress some images</a> to make sure they are to your liking.
29
30 **Why is ShortPixel the best choice when it comes to image optimization or PDF compression?**
31
32 * popular plugin with over 200,000 active installations according to WordPress
33 * compress JPG, PNG, GIF (still or animated) images and also PDF documents
34 * option to automatically convert PNG to JPG if that will result in smaller images. Ideal for large images in PNG format.
35 * no file size limit
36 * option to freely convert any JPEG, PNG or GIF (even animated ones!) to **WebP** for more Google love. <a href="http://blog.shortpixel.com/how-webp-images-can-speed-up-your-site/" target="_blank">How to enable WebP?</a>
37 * option to include the generated WebP images into the front-end pages by using the `<picture>` tag instead of `<img>`
38 * compatible with WP Retina 2x - all **retina images** are automatically compressed. <a href="http://blog.shortpixel.com/how-to-use-optimized-retina-images-on-your-wordpress-site-for-best-user-experience-on-apple-devices/" target="_blank">How to benefit from Retina displays?</a>
39 * optimize thumbnails as well as featured images. You can also **select individual thumbnails to exclude** from optimization.
40 * ability to optimize any image on your site including images in **NextGEN Gallery** and any other image galleries or sliders
41 * integrates with Gravity Forms post_image field type optimizing the images upon upload
42 * featured images can be automatically resized before being optimized with 2 different options. No need for additional plugins like Imsanity
43 * CMYK to RGB conversion
44 * **24h <a href="https://wordpress.org/support/plugin/shortpixel-image-optimiser/reviews/?filter=5" target="_blank">stellar support</a>** (24/7) directly from developers.
45 * easily **test lossy/lossless** versions of the images with a single click in your Media Library
46 * **great for photographers**: <a href="http://blog.shortpixel.com/how-much-smaller-can-be-images-without-exif-icc/" target="_blank">keep or remove EXIF</a> data from your images, compress images with lossless option
47 * works well with both HTTPS and HTTP websites
48 * uses progressive JPEG for larger images in order to speed up the image display
49 * you can run ShortPixel plugin on **multiple websites** or on a **multisite** with a **single API Key**
50 * it is **safe to test** and use the plugin: all the original images can be restored with a click, either one by one or in bulk
51 * 'Bulk' optimize all the existing images in Media Library or in any gallery with one click
52 * works great for **eCommerce websites using WooCommerce** or other plugins
53 * works great with NextGEN gallery, Foo Gallery and any other galleries and sliders
54 * compatible with WP Engine hosted websites and all the major hosting providers
55 * compatible with WPML and WPML Media plugins
56 * skip already optimized images
57 * compatible with watermarking plugins
58 * option to deactivate auto-optimizing images on upload
59 * images that are optimized less that 5% are bonus
60 * WooCommerce, WP offload S3 and WP Stateless compatible
61 * 30 days optimization report with all image details and overall statistics
62 * We are GDPR compliant! <a href="https://shortpixel.com/privacy#gdpr" target="_blank">Read more.</a>
63 * **free optimization credits for non-profits**, <a href="https://shortpixel.com/contact" target="_blank">contact us</a> for details
64
65 **How much does it cost?**
66 ShortPixel comes with 100 free credits/month and additional credits can be bought for as little as $4.99 for 5,000 image credits.
67 Check out <a href="https://shortpixel.com/pricing" target="_blank">our prices</a>.
68
69 > **Testimonials:**
70 > �
71
72
73
74
75 **A Super Plugin works very well 62% reduction overall.** [robertvarns](https://wordpress.org/support/topic/a-super-plugin-works-very-well-62-reduction-overall/)
76 > �
77
78
79
80
81 **The secret sauce for a WordPress website.** [mark1mark](https://wordpress.org/support/topic/the-secret-sauce-for-a-wordpress-website/)
82 > �
83
84
85
86
87 **A must have plugin, great support!** [ElColo13](https://wordpress.org/support/topic/a-must-have-plugin-great-support/)
88 > �
89
90
91
92
93 **Excellent Plugin! Even Better Customer Service!** [scaliendo](https://wordpress.org/support/topic/great-plugin-great-support-508/)
94 > �
95
96
97
98
99 **Great image compression, solid plugin, equally great support.** [matters1959](https://wordpress.org/support/topic/support-shortpixel-image-optimiser/)
100 > [more testimonials](https://wordpress.org/support/plugin/shortpixel-image-optimiser/reviews/?filter=5)
101
102 [youtube https://www.youtube.com/watch?v=5EbX0Hsy6j4]
103
104 Help us spread the word by recommending ShortPixel to your friends and collect **100 lifetime monthly additional image credits for each referred active user**. Make money by promoting a great plugin with our <a href="https://shortpixel.com/free-sign-up-affiliate" target="_blank">50/50 affiliate program</a>.
105
106 **Get in touch!**
107
108 * Email <a href="https://shortpixel.com/contact" target="_blank">https://shortpixel.com/contact</a>
109 * Twitter <a href="https://twitter.com/shortpixel" target="_blank">https://twitter.com/shortpixel</a>
110 * Google+ <a href="https://www.google.com/+Shortpixelpage" target="_blank">https://www.google.com/+Shortpixelpage</a>
111 * Facebook <a href="https://www.facebook.com/ShortPixel" target="_blank">https://www.facebook.com/ShortPixel</a>
112 * LinkedIn <a href="https://www.linkedin.com/company/shortpixel" target="_blank">https://www.linkedin.com/company/shortpixel</a>
113
114 == Installation ==
115
116 Let's get ShortPixel plugin running on your WordPress website:
117
118
119 1. Sign up using your email at <a href="https://shortpixel.com/wp-apikey" target="_blank">https://shortpixel.com/wp-apikey</a>.
120 2. You will receive your personal API key in a confirmation email, to the address you provided.
121 3. Upload the ShortPixel plugin to the /wp-content/plugins/ directory
122 4. Use your unique API key to activate ShortPixel plugin in the 'Plugins' menu in WordPress.
123 5. Uploaded images can be automatically optimized in the Media Library.
124 6. Done!
125
126
127 == Frequently Asked Questions ==
128
129 = How does ShortPixel compare to other image optimisation plugins (e.g Smush, Imagify, TinyPNG, Kraken, EWWW)? =
130 ShortPixel has better compression rates, more features, supports backups and has very affordable one-time plans.
131 If you are serious about making an informed decision please take 10 minutes and read this <a href="https://blog.shortpixel.com/wp-image-optimization-wordpress-plugins/">article</a>.
132
133 = Can I use the same API Key on multiple web sites? =
134 Yes, you can.
135 As long as you have available credits you can use a single API Key on as many websites as you wish!
136
137 = Can I test/use the plugin for free? =
138 Yes you can.
139 We offer 100 free image optimization credits each month. Exceeding the monthly free quota will pause the optimization process till the quota is reset or extended by buying one of our plans.
140
141 = Can I optimize images that aren't in Media Library? =
142 Absolutely.
143 You can actually optimize any image you have on your site regardless of its place. You just need to add - in the Advanced section of the ShortPixel Settings - the folders where the images you want to optimize are located and ShortPixel will work its magic and do the rest.
144
145 = Can I optimize both past and new images? =
146 Sure!
147 You can optimize all your past/current images using our "Bulk ShortPixel" page in your Media with a single click.
148
149 = A credit = an optimized image? =
150 Yes, that is correct.
151 But please note that usually an image in Media Library has 3, 5 or more associated thumbs. Each optimized thumb requires a credit. In the rare cases when ShortPixel does not optimize the image (lossy) with at least 5%, the credit will not be consumed, though.
152
153 = Can I restore my images? What happens with the originals? =
154 If you choose the "Image backup" option in Settings/ShortPixel then the original version of any optimized image or PDF will be saved in the backup folder.
155 The original image is needed if you want to restore an image or if you want to convert an image from lossy/glossy to lossless or viceversa.
156
157 = What types of formats can be optimized? =
158 ShortPixel optimizes JPEG, PNG, GIF and PDF type of files.
159
160 = Do you have one-time plans? =
161 Yes we do.
162 The credits that come with our <a href="https://shortpixel.com/plans" >one-time plans</a> never expire. Yummy! :-)
163
164 = What happens to my existing images? =
165 Your existing images are replaced with the optimized ones.
166 If you choose the backup option then the originals will be saved in a separate folder so you can restore them should you ever need/want to do that.
167
168 = How does the plugin work? =
169 Our light-weight plugin sends the original images to our Image Optimization Cloud where they are compressed. ShortPixel then downloads the optimized images and the unoptimized originals are replaced with the optimized versions.
170
171 = Do you optimize the images in cloud? =
172 Yes, all the images processsed by ShortPixel are optimized in the Cloud. This takes the load off of your server and allows us to produce the best results.
173
174 = What payment methods are accepted? =
175 We accept payments via PayPal and card.
176
177 = How do I activate the API key on a multisite? =
178 You have to activate the plugin in the network admin and then activate it manually on each individual site in the multisite. Once you have done that, the Settings menu appears and you can add the API key for each individual site.
179 As an alternative, you can edit wp-config.php and add this line:
180
181 `define('SHORTPIXEL_API_KEY', 'APIKEY');`
182 where `APIKEY` is the API Key received upon sign up.
183 If configured that way, the API key will be used for all the sites of the multisite but will only be visible on the main site’s Settings page, being hidden for the rest of the sites.
184
185 = I am not the only one working in the WordPress Dashboard. How can I hide my API key? =
186 There is a simple way to hide the API key, all you need to do is to add these two lines in your wp-config.php:
187
188 `define('SHORTPIXEL_API_KEY', '<<your api key here>>');`
189 `define('SHORTPIXEL_HIDE_API_KEY', true);`
190
191 = How much is a credit? =
192 A credit is used each time ShortPixel optimizes an image or thumbnail by at least 5%. If we're not able to optimize an image or thumbnail by at least 5% then no credit will be used :-)
193 Please also note that usually images in your Media Library have 3-5 thumbs associated and a credit will be used for each featured image or associated thumbnail that is optimized.
194
195 = Why shall I use a wordpress plugin and not an offline tool? =
196 Because ShortPixel algorithms were perfected while optimizing over a hundred million real-life images.
197 ShortPixel not only offers the best compression for JPEG, PNG, GIF and PDF files but it also saves you a lot of time. You just install it on your site and then ShortPixel will take care that all the images on your site are immediately optimized after upload.
198
199 = Does optimizing images affect my ALT tags? =
200 No, ShortPixel only optimizes images, it won't touch anything else like your HTML/CSS.
201
202 = If I stop using ShortPixel will my images remain optimized? =
203 Absolutely!
204 Once optimized the images will remain optimized unless you explicitly choose to restore them. But why would you do that? :-)
205
206 = Do I have to pay monthly or one time? =
207 We have both options available.
208 One-time credits never expire are a bit more expensive. Check out our prices <a href="https://shortpixel.com/pricing" >here</a>
209
210 = When can I cancel a monthly plan? =
211 Whenever you want.
212 The credits you still have available for the current billing period will still be available until the end of the billing period. At the end of it, you won't be billed again and the plan will be reset to the free plan.
213
214 = When credits expire? =
215 Monthly credits expire after 30 days while one-time credits never expire.
216
217 = Do you have an API? =
218 Yes, we have several APIs and tools.
219 You can learn more about it here:
220 <a href="https://shortpixel.com/api-tools">https://shortpixel.com/api-tools</a>
221
222 = Can I use ShortPixel WP plugin on a localhost installation? =
223 Unfortunately not :-(
224 But you can use either our command line tool or our web tool
225 <a href="https://shortpixel.com/web-tool-docs">https://shortpixel.com/web-tool-docs</a>
226 <a href="https://shortpixel.com/cli-docs">https://shortpixel.com/cli-docs</a>
227
228 = How does resizing work? =
229 If you choose the option to resize your images then the featured image can be resized to a predefined size while keeping its aspect and proportions intact. The associated thumbs won't be resized
230 Using this option you can safely upload original images safely without needing to apply any pre-processing to make them smaller.
231
232 = Will ShortPixel work if my website is using CloudFare? =
233 Absolutely! Sometimes you'll need to make sure you whitelist some IPs, just <a href="http://shortpixel.com/contact">contact us</a> and we'll assist you with that.
234
235 = I’m stuck. What do I do? =
236
237 The ShortPixel team is here to help. <a href="https://shortpixel.com/contact">Contact us</a>!
238
239
240 == Actions and Filters for Developers ==
241
242 The ShortPixel Image Optimiser plugin calls the following actions and filters:
243
244 `do_action( 'shortpixel_image_optimised', $post_id );`
245 upon successful optimization;
246
247 `do_action("shortpixel_before_restore_image", $post_id);`
248 before restoring an image from backup;
249
250 `do_action("shortpixel_after_restore_image", $post_id);`
251 after succesful restore;
252
253 `apply_filters("shortpixel_backup_folder", $backup_folder, $main_file_path, $sizes);`
254 just before returning the ShortPixel backup folder, usually /wp-content/uploads/ShortpixelBackups. The `$sizes` are the sizes array from metadata;
255
256 `apply_filters('shortpixel_image_exists', file_exists($path), $path, $post_id);`
257 post ID is not always set, only if it's an image from Media Library;
258
259 `apply_filters('shortpixel_image_urls', $URLs, $post_id);`
260 filters the URLs that will be sent to optimization, `$URLs` is a plain array;
261
262 `apply_filters('shortpixel/db/chunk_size', $chunk);`
263 the `$chunk` is the value ShortPixel chooses to use as number of selected records in one query (based on total table size), some hosts work better with a different value;
264
265 In order to define custom thumbnails to be picked up by the optimization you have two options, both comma separated defines:
266
267 `define('SHORTPIXEL_CUSTOM_THUMB_SUFFIXES', '_tl,_tr');`
268 will handle custom thumbnails like image-100x100_tl.jpg;
269
270 `define('SHORTPIXEL_CUSTOM_THUMB_INFIXES', '-uae');`
271 will handle custom thumbnails like image-uae-100x100.jpg;
272
273 `define('SHORTPIXEL_USE_DOUBLE_WEBP_EXTENSION', true);`
274 will tell the plugin to create double extensions for the WebP image counterparts, for example image.jpg.webp for image.jpg;
275
276 `define("SHORTPIXEL_NOFLOCK", true);`
277 don't use flock queue, only activate this when you have `flock()` denied errors on your installation;
278
279 `define("SHORTPIXEL_EXPERIMENTAL_SECURICACHE", true);`
280 adds timestamps to URLS, to prevent hitting the cache. Useful for persistent caches.
281
282 Hide the Cloudflare settings by defining these constants in wp-config.php:
283
284 `define('SHORTPIXEL_CFTOKEN', 'the Cloudflare API token that has Purge Cache right');`
285 `define('SHORTPIXEL_CFZONE', 'The Zone ID from the domain settings in Cloudflare');`
286
287 == Screenshots ==
288
289 1. Bulk optimization running. (Media>Bulk ShortPixel)
290
291 2. Activate your API key in the plugin Settings. (Settings>ShortPixel)
292
293 3. Check out the main settings after API key activated. (Settings>ShortPixel)
294
295 4. Tweak it using Advanced settings. (Settings>ShortPixel)
296
297 5. Compress all your past images with one click. (Media>Bulk ShortPixel)
298
299 6. Check your stats: number of processed files, saved space, average compression, saved bandwidth, remaining images. (Settings>ShortPixel)
300
301 7. Check images optimization status, restore or reoptimize the image. (Media>Library)
302
303 8. Check image optimization details. (Media>Library->Edit)
304
305 9. Check other optimized images status - themes or other plugins' images. (Media>Other Media)
306
307 == Changelog ==
308
309 = 4.17.0 =
310
311 Release date: 2nd April 2020
312 * Complete rewrite of the Other Media part of the plugin. It now looks closer to the standard Media Library, having thumbnails and actions like Compare, Re-optimize and Restore from backup for all images when you have Backups activated;
313 * Added notification to activate the integration with NextGen Gallery, when the plugin is active and the integration is not activated;
314 * Improved the way Other Media folders are added and it should not crash anymore for folders with a very large number of images;
315 * Fix for the extra information (i) next to each Other Media folder in the Advanced Settings;
316 * Fixes for multiple issues reagrding the NextGen Gallery plugin integration;
317 * Fix for notififcations showing up when they're not supposed to show up;
318 * Fix for multiple notifications when backup files are not found. These are now merged together;
319 * Fix for notifications that were crashing outside ShortPixel screens;
320 * Fix for the report that was wrongly stating 40 days, when actually the report is only for 30 days;
321 * Fix for the exclude regex section that was returning true even if no matches were found;
322 * Removed from the plugin the files that are not used anymore;
323 * Language – 15 new strings added, 0 updated, 0 fuzzied, and 8 obsoleted.
324
325 = 4.16.4 =
326
327 Release date: 26th March 2020
328 * Fix for some notices that could not be dismissed
329 * Fix for "Confirm new credits" notification
330 * Language – 0 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted
331
332 = 4.16.3 =
333
334 Release date: 9th March 2020
335 * Fix missing button to choose a plan when running out of credits.
336 * Language – 0 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted
337
338 = 4.16.2 =
339
340 Release date: 27th February 2020
341 * Fix notices javascript.
342 * Language – 0 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted
343
344 = 4.16.1 =
345
346 Release date: 14th February 2020
347 * Fix non-dismissable alerts.
348 * Reference to the Website Speed Optimization service.
349 * Fixed: deleteItemCache in wrong place ( before save ) thus resetting data
350 * Fixed: NextGen integration
351 * Language – 3 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted
352
353 = 4.16.0 =
354
355 Release date: 4th February 2020
356 * New - Token support for Cloudflare via config constant or settings.
357 * Backup setting - add orange warning when backups are off.
358 * Button to dismiss the top bar notification of missing files.
359 * Shortpixel now loads scripts with 'defer' on front site, if it's configured to be loaded there.
360 * Hiding Cloudflare details via wp-config.php.
361 * Hide the option "Process in front-end" when "Optimize media on upload" is not checked.
362 * Fixes for multibyte filenames with mixed locales.
363 * Fixes for combination of S3-offload, webp pictures and cnames.
364 * Reworked Notifications.
365 * Fixed - PNG2JPG Retry button didn't work, now properly resets retry counter.
366 * Fixed - Realpath in directory model throws off installations with symlinks.
367 * Fixed - Thrown Exception in API with corrupted images now caught.
368 * Fixed - Debug window link was visible when it should not.
369 * Fixed - ExcludePattern without value would result in notices.
370 * Language – 7 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted
371
372 = 4.15.4 =
373
374 Release date: 29th January 2020
375 * Change the Help beacon to V2.
376 * Language – 0 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted
377
378 = 4.15.3 =
379
380 Release date: 20th December 2019
381 * Hide the "Process in front-end" option if "Optimize media on upload" unchecked
382 * Add ALT text for plugin images in Admin
383 * Moved CSS for the admin bar to the actual admin bar stylesheet, other css no longer loading on those pages
384 * Fixes for windows specific paths
385 * Fixed: warning flood when using old version of S3-offload
386 * Fix for frontend and error shortpixel in top toolbar
387 * Fixed: Pancake menu now showing proper actions ( none ) if backup is not there.
388 * Fixed: Windows paths in wp-short-pixel getBackupFolderInternal
389 * Language – 4 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted
390
391 = 4.15.2 =
392
393 Release date: 28th November 2019
394 * Fix for is_null error and "Call to undefined method ShortPixel\ShortPixelPlugin::alterHtaccess" in some cases.
395 * Language – 0 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted
396
397 = 4.15.1 =
398
399 Release date: 27th November 2019
400 * Fix the infamous T_PAAMAYIM_NEKUDOTAYIM error on PHP 5.3 with WP Offload Media compat. module.
401 * Language – 0 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted
402
403 = 4.15.0 =
404
405 Release date: 27th November 2019
406 * Ask if WebP files should be created before bulk optimization : checkbox added in Bulk page.
407 * Added filters for optimal chunk size when selecting records from wp_postmeta while bulk processing: 'shortpixel/db/chunk_size'.
408 * Optimize images also on edit-media screen.
409 * Experimental support for static cache firewalls, and sending images w/ timestamp: SHORTPIXEL_EXPERIMENTAL_SECURICACHE.
410 * Limit loading of JS / CSS to pages we do work on.
411 * Refactoring & speed optimizations: - new external class for gravity forms, nextgen and visual composer, new controller for global admin hooks, new front controller, updated plugin init, clean(ish) root file, database optimization(reduced number of queries), unlistedThumbs checker only fires when the optimize unlisted check is active, optimizations for filesystem and findFileByPattern.
412 * WPML Duplicates - Don't mark empty GUID's as duplicate.
413 * Fix broken styles on WP 5.3.
414 * Fix in case meta_value in processCountable has a WP_Error object instead of normal metadata.
415 * Fix on WP Engine when large wp_postmeta table: limit to 16K the size of the query with ID list.
416 * Fixed: error when log path is not writeable
417 * Fixed: double sends within the same images, can happen with something like WPML and it's duplicated media.
418 * Fixed: bug when searching unlisted images, in some circumstances.
419 * Fixed: max_execution_time when time is set lower than 0.
420 * Fixed: directories with no permission would give PHP error
421 * Fixed: pathToUrl now also works for paths outside wp uploads
422 * Fixed: check for DOING_AJAX on redirect to settings.
423 * Fixed: Shortpixel icon + exclamation mark in toolbar showing on every page load.
424 * Fixed: Add Custom media browser doesn't display files anymore
425 * Fixed: WebP option adds an extra border if image already has a border -> borders will not be replicated to `<picture>` tags.
426 * Fixed: Validating empty key doesn't show any message.
427 * Fixed: on Nginx writes .htaccess files.
428 * Fixed: Bug with safeGetAttachmentUrl for URLs that start with //.
429 * Fixed: New S3-Offload version breaks Shortpixel and offloading.
430 * Fixed: get_attached_file when S3-Offload is active, breaks other plugins.
431 * Fixed: crash when doing .htaccess files ( WP 5.3 specific ).
432 * Fixed: double file occurences on png2jpg in conjunction with s3offload.
433 * Language – 1 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted
434
435 = 4.14.6 =
436
437 Release date: 9th October 2019
438 * Don't convert to `<picture>` the `<img>`s with backgrounds.
439 * Remove unused eval() call.
440 * Restore the validate button next to API Key but change label to "Save and validate"
441 * Fixed: PNGtoJPG issue with already uploaded images
442 * Fixed: finding wrong unlisted thumbnails due to regex.
443 * Fixed: fatal error when trying to delete crashed attachement ( without proper URL )
444 * Fix for S3 offload - PNG2JPG , doesn't remove old JPG files
445 * Fixed: S3Offload will not offload anymore when 'Copy files to bucket' is off ( and object was not previously offloaded )
446 * S3Offload doesn't offload via optimiser anymore if this setting is off
447 * Fixed: cutting out initial offload if optimization needs to be done, when autolibrary is on
448 * Fix for PNG2JPG - JPG files remained in backupdir.
449 * Small fix for remote download thumbnails
450 * Fixed: notice in filemodel due meta-facade feeding array
451 * Fixed: bug in File2Url in filesystemcontroller
452 * Fixed: download issue in attempt to remote download
453 * Language – 0 new strings added, 1 updated, 0 fuzzied, and 0 obsoleted
454
455 = 4.14.5 =
456
457 Release date: 29th August 2019
458 * If constant SHORTPIXEL_USE_DOUBLE_WEBP_EXTENSION is defined as true, use double extension for WebP (.jpg.webp)
459 * Fixed: Javascript - String.prototype causes errors on React apps
460 * Fixed: Undefined page load when using ShortPixel and Divi preloaded images
461 * Fixed: Offload Media - When removing PNG2JPG converted file, the files / folder are not removed.
462 * Fixed: When the constant that enables using double extensions for WebP (.jpg.webp) is active, the webp's are found as unlisted thumbnails and sent to optimization.
463 * Fixed: missing call to apply_filters('shortpixel_image_exists'...) on a particular case.
464 * Language – 0 new strings added, 1 updated, 0 fuzzied, and 0 obsoleted
465
466 = 4.14.4 =
467
468 Release date: 19th August 2019
469 * Check if unlisted thumbnails present for already optimized images (in case the thumbnails were added later) in Media Library list and when doing bulk. This also integrates with the Unicode plugin.
470 * If JSON PHP module not present, add a proper error
471 * Fixed: bulk error "WordPress database error You have an error in your SQL syntax" on some installs
472 * Fixed: Warning: count() Parameter must be an array.
473 * Language – 0 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted
474
475 = 4.14.3 =
476
477 Release date: 22nd July 2019
478 * Compatibility with Flywheel hosting by not using flock if Flywheel detected
479 * When using the PICTURE tag to deliver WebP, keep the width and height at `<IMG>` level
480 * Refactoring of the API Key settings page, refactoring of Other media
481 * Performance improvements for selecting from large wp_posts and wp_postmeta tables when doing bulk optimization
482 * Display a message when bulk is skipping many processed images, if bulk processing is ran again.
483 * Fixed: Other media - Recompress adds "Preserve CMYK"
484 * Fixed: duplicate error message when validating wrong API key
485 * Conflict message: align the text vertically and provide space between text and button when displayed on any admin page
486 * Fixed: Other media Restore fails when original file is readable, not writable
487
488 = 4.14.2 =
489
490 Release date: 1st July 2019
491 * add the possibility to define custom infixes for thumbnails (like image-uai-150x150.jpg for image.jpg) - comma separated define SHORTPIXEL_CUSTOM_THUMB_INFIXES
492
493 = 4.14.1 =
494
495 Release date: 17th June 2019
496 * Fix errors when DOMDocument not present
497
498 = 4.14.0 =
499
500 Release date: 17th June 2019
501 * Add new filters proposed by WP Stateless: shortpixel_backup_folder, shortpixel_image_exists, shortpixel_image_urls
502 * Better placement of the elements on the Other Media page
503 * Fix custom bulk for PDFs when the pdf thumbnails are not activated
504 * Fix selecting items from DB twice for bulk in some circumstances
505 * Warn user that converting PNG to JPG while keeping EXIF in options doesn't keep it (no EXIF for PNGs).
506 * When SHORTPIXEL_DEBUG=x get parameter is provided, display a floating link to the shortpixel_log file
507 * Adaptive Max execution time and capped to 90 sec. for the bulk background AJAX calls. (Kinsta has a max_execution_time of 300 sec. in PHP but the HTTP connection is cut after 180 sec.)
508 * Fix custom 404 page for missing images not working when using .htaccess for WebP
509 * Fix WebP picture tag with relative URLs not working in some circumstances
510 * Fix replacing the `<img>` inside an existing `<picture>` tag with another `<picture>` tag.
511 * Clear SP optimization cache in order to be able to optimize an image which initially had permissions error, after changing the permissions.
512 * Fix being able to list the contents of ShortpixelBackups on some badly configured servers.
513 * Fix error when inputting D'Artagnan in the AUTH pass field of settings.
514 * Add the Quriobot for support.
515
516 = 4.13.1 =
517
518 Release date: 16th April 2019
519 * fix thumbnail optimization when a thumbnail was replaced with another one
520 * better integration with Regenerate Thumbnails Advanced
521
522 = 4.13.0 =
523
524 Release date: 10th April 2019
525 * Bulk restore for the Other Media
526 * make the filename extension be updated when manually optimizing a PNG from Media Library, if the convert to JPG is active, without refreshing the page
527 * Integration with Regenerate Thumbnails Advanced new 2.0 beta version
528 * Add the rules for WebP in the WP-CONTENT .htaccess
529 * ShortPixel Other Media - display the time of optimization in the grid and offer option to sort by it
530 * Keep sort order when optimizing / refreshing page on Other Media
531 * offer the visual comparer for Other Media too
532 * resolve the Settings inconsistency in Other Media (settings displayed were from when adding the folder not from when actually optimizing)
533 * Make pressing Escape or clicking outside of any popup close it.
534 * Fixed: Restoring an Other Media item and then Optimizing it again optimizes it Lossless
535 * fix generating the WebP `<picture>` tags when the images are either on a subdomain or on a CDN domain having the same root domain as the main site.
536
537 = EARLIER VERSIONS =
538 * please refer to the changelog.txt file inside the plugin archive.
539