Version Description
Release date: July 13th 2020 * Fix: PHP warning that was displayed on PHP 7.4.x.
Download this release
Release Info
Developer | petredobrescu |
Plugin | reGenerate Thumbnails Advanced |
Version | 2.3.1 |
Comparing to | |
See all releases |
Code changes from version 2.3.0 to 2.3.1
- classes/Plugin.php +1 -1
- readme.txt +7 -2
- regenerate-thumbnails-advanced.php +6 -5
classes/Plugin.php
CHANGED
@@ -282,7 +282,7 @@ class Plugin
|
|
282 |
$form_fields["regenerate-thumbnails-advanced"] = array(
|
283 |
"label" => esc_html__("Regenerate Thumbnails", "enable-media-replace"),
|
284 |
"input" => "html",
|
285 |
-
"html" => "<
|
286 |
);
|
287 |
|
288 |
return $form_fields;
|
282 |
$form_fields["regenerate-thumbnails-advanced"] = array(
|
283 |
"label" => esc_html__("Regenerate Thumbnails", "enable-media-replace"),
|
284 |
"input" => "html",
|
285 |
+
"html" => "<a class='button-secondary' $link>" . esc_html__("Regenerate Thumbnails", "enable-media-replace") . "</a>"
|
286 |
);
|
287 |
|
288 |
return $form_fields;
|
readme.txt
CHANGED
@@ -3,9 +3,9 @@ Contributors: ShortPixel
|
|
3 |
Donate link: https://www.paypal.me/resizeImage
|
4 |
Tags: regenerate, thumbnail, thumbnails, thumb, thumbs, easy, media, force regenerate, image, images, pics, date
|
5 |
Requires at least: 4.0
|
6 |
-
Tested up to: 5.
|
7 |
Requires PHP: 5.3
|
8 |
-
Stable tag: 2.3.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -55,6 +55,11 @@ The script stops but it will resume after you open the settings page of the plug
|
|
55 |
|
56 |
== Changelog ==
|
57 |
|
|
|
|
|
|
|
|
|
|
|
58 |
= 2.3.0 =
|
59 |
|
60 |
Release date: 29th May 2020
|
3 |
Donate link: https://www.paypal.me/resizeImage
|
4 |
Tags: regenerate, thumbnail, thumbnails, thumb, thumbs, easy, media, force regenerate, image, images, pics, date
|
5 |
Requires at least: 4.0
|
6 |
+
Tested up to: 5.5
|
7 |
Requires PHP: 5.3
|
8 |
+
Stable tag: 2.3.1
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
55 |
|
56 |
== Changelog ==
|
57 |
|
58 |
+
= 2.3.1 =
|
59 |
+
|
60 |
+
Release date: July 13th 2020
|
61 |
+
* Fix: PHP warning that was displayed on PHP 7.4.x.
|
62 |
+
|
63 |
= 2.3.0 =
|
64 |
|
65 |
Release date: 29th May 2020
|
regenerate-thumbnails-advanced.php
CHANGED
@@ -3,7 +3,7 @@ namespace ReThumbAdvanced;
|
|
3 |
/*
|
4 |
Plugin Name: Regenerate Thumbnails Advanced
|
5 |
Description: Regenerate thumbnails fast and easy while removing unused thumbnails of existing images; very useful when changing a theme.
|
6 |
-
Version: 2.3.
|
7 |
Author: ShortPixel
|
8 |
Author URI: https://shortpixel.com/
|
9 |
License: GPLv2 or later
|
@@ -16,7 +16,7 @@ if ( !function_exists( 'add_action' ) ) {
|
|
16 |
exit;
|
17 |
}
|
18 |
|
19 |
-
define( 'RTA_PLUGIN_VERSION', '2.3.
|
20 |
define( 'RTA_PLUGIN_PATH', plugin_dir_path(__FILE__) );
|
21 |
define( 'RTA_PLUGIN_URL', plugin_dir_url(__FILE__) );
|
22 |
define( 'RTA_SITE_BASE_URL', rtrim(get_bloginfo('url'),"/")."/");
|
@@ -38,6 +38,7 @@ function RTA()
|
|
38 |
|
39 |
RTA();
|
40 |
|
41 |
-
|
42 |
-
|
43 |
-
|
|
3 |
/*
|
4 |
Plugin Name: Regenerate Thumbnails Advanced
|
5 |
Description: Regenerate thumbnails fast and easy while removing unused thumbnails of existing images; very useful when changing a theme.
|
6 |
+
Version: 2.3.1
|
7 |
Author: ShortPixel
|
8 |
Author URI: https://shortpixel.com/
|
9 |
License: GPLv2 or later
|
16 |
exit;
|
17 |
}
|
18 |
|
19 |
+
define( 'RTA_PLUGIN_VERSION', '2.3.1');
|
20 |
define( 'RTA_PLUGIN_PATH', plugin_dir_path(__FILE__) );
|
21 |
define( 'RTA_PLUGIN_URL', plugin_dir_url(__FILE__) );
|
22 |
define( 'RTA_SITE_BASE_URL', rtrim(get_bloginfo('url'),"/")."/");
|
38 |
|
39 |
RTA();
|
40 |
|
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'));
|