Version Description
- Fixed a bug when searching from the admin interface (thanks to @bapcsuk).
Download this release
Release Info
Developer | TinyPNG |
Plugin | Compress JPEG & PNG images |
Version | 2.0.1 |
Comparing to | |
See all releases |
Code changes from version 2.0.0 to 2.0.1
- readme.txt +4 -1
- src/class-tiny-plugin.php +1 -1
- tiny-compress-images.php +1 -1
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://tinypng.com/
|
|
4 |
Tags: optimize, compress, shrink, resize, faster, fit, scale, improve, images, tinypng, tinyjpg, jpeg, jpg, png, lossy, jpegmini, crunch, minify, smush, save, bandwidth, website, speed, performance, panda, wordpress app
|
5 |
Requires at least: 3.0.6
|
6 |
Tested up to: 4.6
|
7 |
-
Stable tag: 2.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -107,6 +107,9 @@ A: Yes! After installing the plugin, go to *Media > Bulk Optimization*, and clic
|
|
107 |
|
108 |
== Changelog ==
|
109 |
|
|
|
|
|
|
|
110 |
= 2.0.0 =
|
111 |
* Completely new Bulk Optimization page.
|
112 |
* Better detection of image sizes with duplicate filenames.
|
4 |
Tags: optimize, compress, shrink, resize, faster, fit, scale, improve, images, tinypng, tinyjpg, jpeg, jpg, png, lossy, jpegmini, crunch, minify, smush, save, bandwidth, website, speed, performance, panda, wordpress app
|
5 |
Requires at least: 3.0.6
|
6 |
Tested up to: 4.6
|
7 |
+
Stable tag: 2.0.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
107 |
|
108 |
== Changelog ==
|
109 |
|
110 |
+
= 2.0.1 =
|
111 |
+
* Fixed a bug when searching from the admin interface (thanks to @bapcsuk).
|
112 |
+
|
113 |
= 2.0.0 =
|
114 |
* Completely new Bulk Optimization page.
|
115 |
* Better detection of image sizes with duplicate filenames.
|
src/class-tiny-plugin.php
CHANGED
@@ -330,7 +330,6 @@ class Tiny_Plugin extends Tiny_WP_Base {
|
|
330 |
}
|
331 |
|
332 |
public function media_library_bulk_action() {
|
333 |
-
check_admin_referer( 'bulk-media' );
|
334 |
|
335 |
if ( empty( $_REQUEST['action'] ) || (
|
336 |
'tiny_bulk_action' != $_REQUEST['action'] &&
|
@@ -342,6 +341,7 @@ class Tiny_Plugin extends Tiny_WP_Base {
|
|
342 |
return;
|
343 |
}
|
344 |
|
|
|
345 |
$ids = implode( '-', array_map( 'intval', $_REQUEST['media'] ) );
|
346 |
wp_redirect(add_query_arg(
|
347 |
'_wpnonce',
|
330 |
}
|
331 |
|
332 |
public function media_library_bulk_action() {
|
|
|
333 |
|
334 |
if ( empty( $_REQUEST['action'] ) || (
|
335 |
'tiny_bulk_action' != $_REQUEST['action'] &&
|
341 |
return;
|
342 |
}
|
343 |
|
344 |
+
check_admin_referer( 'bulk-media' );
|
345 |
$ids = implode( '-', array_map( 'intval', $_REQUEST['media'] ) );
|
346 |
wp_redirect(add_query_arg(
|
347 |
'_wpnonce',
|
tiny-compress-images.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: Compress JPEG & PNG images
|
4 |
* Description: Speed up your website. Optimize your JPEG and PNG images automatically with TinyPNG.
|
5 |
-
* Version: 2.0.
|
6 |
* Author: TinyPNG
|
7 |
* Author URI: https://tinypng.com
|
8 |
* Text Domain: tiny-compress-images
|
2 |
/**
|
3 |
* Plugin Name: Compress JPEG & PNG images
|
4 |
* Description: Speed up your website. Optimize your JPEG and PNG images automatically with TinyPNG.
|
5 |
+
* Version: 2.0.1
|
6 |
* Author: TinyPNG
|
7 |
* Author URI: https://tinypng.com
|
8 |
* Text Domain: tiny-compress-images
|