reGenerate Thumbnails Advanced - Version 2.3.2

Version Description

Release date: August 17th 2020 * Fix : Regenerate Period now calculates from time set in WordPress to respect timezone settting.

Download this release

Release Info

Developer petredobrescu
Plugin Icon 128x128 reGenerate Thumbnails Advanced
Version 2.3.2
Comparing to
See all releases

Code changes from version 2.3.1 to 2.3.2

classes/AjaxController.php CHANGED
@@ -134,7 +134,7 @@ class AjaxController
134
 
135
  if ($pos !== false) {
136
  $status['message'] = substr_replace($status['message'], $value, $pos, strlen('%s'));
137
- }
138
  }
139
  }
140
  }
@@ -297,7 +297,7 @@ class AjaxController
297
  protected function getQueryDate($period)
298
  {
299
  $now = time();
300
- $endstamp = $now;
301
  switch (intval($period)) {
302
  case self::PERIOD_ALL:
303
  $startstamp = 0;
134
 
135
  if ($pos !== false) {
136
  $status['message'] = substr_replace($status['message'], $value, $pos, strlen('%s'));
137
+ }
138
  }
139
  }
140
  }
297
  protected function getQueryDate($period)
298
  {
299
  $now = time();
300
+ $endstamp = current_time('timestamp');
301
  switch (intval($period)) {
302
  case self::PERIOD_ALL:
303
  $startstamp = 0;
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: regenerate, thumbnail, thumbnails, thumb, thumbs, easy, media, force regen
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
 
@@ -33,6 +33,12 @@ Features:
33
  Support:
34
  For support please contact us <a href="https://shortpixel.com/contact">here</a> making sure you mention RTA plugin.
35
 
 
 
 
 
 
 
36
 
37
  == Installation ==
38
 
@@ -55,6 +61,11 @@ The script stops but it will resume after you open the settings page of the plug
55
 
56
  == Changelog ==
57
 
 
 
 
 
 
58
  = 2.3.1 =
59
 
60
  Release date: July 13th 2020
5
  Requires at least: 4.0
6
  Tested up to: 5.5
7
  Requires PHP: 5.3
8
+ Stable tag: 2.3.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
33
  Support:
34
  For support please contact us <a href="https://shortpixel.com/contact">here</a> making sure you mention RTA plugin.
35
 
36
+ **Other plugins by ShortPixel**
37
+
38
+ * Image optimization & compression for all the images on your site, including WebP delivery - <a href="https://wordpress.org/plugins/shortpixel-image-optimiser/" target="_blank">ShortPixel Image Optimizer</a>
39
+ * Image optimization & CDN on the fly - <a href="https://wordpress.org/plugins/shortpixel-adaptive-images/" target="_blank">ShortPixel Adaptive Images</a>
40
+ * Easily replace images or files in Media Library - <a href="https://wordpress.org/plugins/enable-media-replace/" target="_blank">Enable Media Replace</a>
41
+ * Make sure you don't have huge images in your Media Library - <a href="https://wordpress.org/plugins/resize-image-after-upload/" target="_blank">Resize Image After Upload</a>
42
 
43
  == Installation ==
44
 
61
 
62
  == Changelog ==
63
 
64
+ = 2.3.2 =
65
+
66
+ Release date: August 17th 2020
67
+ * Fix : Regenerate Period now calculates from time set in WordPress to respect timezone settting.
68
+
69
  = 2.3.1 =
70
 
71
  Release date: July 13th 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.1
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.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'),"/")."/");
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.2
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.2');
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'),"/")."/");
templates/admin/view_rta_regenerate.php CHANGED
@@ -1,5 +1,7 @@
1
  <?php
2
  namespace ReThumbAdvanced;
 
 
3
  ?>
4
 
5
  <form method="post" name="rtaform_process" id="rtaform_process" class="frm_rta" enctype="multipart/form-data">
1
  <?php
2
  namespace ReThumbAdvanced;
3
+
4
+
5
  ?>
6
 
7
  <form method="post" name="rtaform_process" id="rtaform_process" class="frm_rta" enctype="multipart/form-data">