Skip to content

Commit c573680

Browse files
authored
Release version 2.3.1(#5)
Merge pull request #5 from short-pixel-optimizer/updates
2 parents 7a6fca2 + 4a22056 commit c573680

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

classes/Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ public function attachment_editor($form_fields, $post)
282282
$form_fields["regenerate-thumbnails-advanced"] = array(
283283
"label" => esc_html__("Regenerate Thumbnails", "enable-media-replace"),
284284
"input" => "html",
285-
"html" => "<p><a class='button-secondary' $link>" . esc_html__("Regenerate Thumbnails", "enable-media-replace") . "</a></p>"
285+
"html" => "<a class='button-secondary' $link>" . esc_html__("Regenerate Thumbnails", "enable-media-replace") . "</a>"
286286
);
287287

288288
return $form_fields;

readme.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Contributors: ShortPixel
33
Donate link: https://www.paypal.me/resizeImage
44
Tags: regenerate, thumbnail, thumbnails, thumb, thumbs, easy, media, force regenerate, image, images, pics, date
55
Requires at least: 4.0
6-
Tested up to: 5.4.1
6+
Tested up to: 5.4.2
77
Requires PHP: 5.3
8-
Stable tag: 2.3.0
8+
Stable tag: 2.3.1
99
License: GPLv2 or later
1010
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1111

@@ -55,6 +55,11 @@ The script stops but it will resume after you open the settings page of the plug
5555

5656
== Changelog ==
5757

58+
= 2.3.1 =
59+
60+
Release date: July 13th 2020
61+
* Fix: PHP warning that was displayed on PHP 7.4.x.
62+
5863
= 2.3.0 =
5964

6065
Release date: 23rd May 2020

regenerate-thumbnails-advanced.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
Plugin Name: Regenerate Thumbnails Advanced
55
Description: Regenerate thumbnails fast and easy while removing unused thumbnails of existing images; very useful when changing a theme.
6-
Version: 2.3.0
6+
Version: 2.3.1
77
Author: ShortPixel
88
Author URI: https://shortpixel.com/
99
License: GPLv2 or later
@@ -16,7 +16,7 @@
1616
exit;
1717
}
1818

19-
define( 'RTA_PLUGIN_VERSION', '2.3.0');
19+
define( 'RTA_PLUGIN_VERSION', '2.3.1');
2020
define( 'RTA_PLUGIN_PATH', plugin_dir_path(__FILE__) );
2121
define( 'RTA_PLUGIN_URL', plugin_dir_url(__FILE__) );
2222
define( 'RTA_SITE_BASE_URL', rtrim(get_bloginfo('url'),"/")."/");
@@ -38,6 +38,7 @@ function RTA()
3838

3939
RTA();
4040

41-
register_uninstall_hook(RTA_PLUGIN_FILE, array('Install', 'uninstall'));
42-
register_activation_hook(RTA_PLUGIN_FILE, array('Install', 'activate'));
43-
register_deactivation_hook(RTA_PLUGIN_FILE, array('Install', 'deactivate'));
41+
42+
register_uninstall_hook(RTA_PLUGIN_FILE, array('ReThumbAdvanced\Install', 'uninstall'));
43+
register_activation_hook(RTA_PLUGIN_FILE, array('ReThumbAdvanced\Install', 'activate'));
44+
register_deactivation_hook(RTA_PLUGIN_FILE, array('ReThumbAdvanced\Install', 'deactivate'));

0 commit comments

Comments
 (0)