Skip to content

Commit 749b8ba

Browse files
Merge pull request #69 from wcreateweb/3.6.2-settings-warning
fix(settings): correct parameters in settings to resolve 3.6.2 warning
2 parents bb14653 + 22d7b1f commit 749b8ba

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

readme.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Donate link: https://tinypng.com/
44
Tags: compress images, compression, image size, page speed, performance
55
Requires at least: 4.0
66
Tested up to: 6.8
7-
Stable tag: 3.6.1
7+
Stable tag: 3.6.2
88
License: GPLv2 or later
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1010

@@ -127,6 +127,9 @@ A: Yes! After installing the plugin, go to *Media > Bulk TinyPNG*, and click on
127127
A: You can upgrade to a paid account by adding your *Payment details* on your [account dashboard](https://tinypng.com/dashboard/api). Additional compressions above 500 will then be charged at the end of each month as a one-time fee.
128128

129129
== Changelog ==
130+
= 3.6.2 =
131+
* Resolved an issue where the amount of parameters were incorrect when rendering a notice.
132+
130133
= 3.6.1 =
131134
* Resolved issue where a picture element would be nested within a picture element
132135

src/class-tiny-settings.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ public function image_sizes_notice() {
156156
$this->render_size_checkboxes_description(
157157
$_GET['image_sizes_selected'],
158158
isset( $_GET['resize_original'] ),
159-
isset( $_GET['compress_wr2x'] )
159+
isset( $_GET['compress_wr2x'] ),
160+
self::get_conversion_enabled()
160161
);
161162
}
162163
exit();

tiny-compress-images.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Plugin Name: TinyPNG - JPEG, PNG & WebP image compression
44
* Description: Speed up your website. Optimize your JPEG, PNG, and WebP images automatically with TinyPNG.
5-
* Version: 3.6.1
5+
* Version: 3.6.2
66
* Author: TinyPNG
77
* Author URI: https://tinypng.com
88
* Text Domain: tiny-compress-images

0 commit comments

Comments
 (0)