Version Description
- fixed: invalid trailing comma syntax in PHP 7.2
Download this release
Release Info
Developer | nosilver4u |
Plugin | Force Regenerate Thumbnails |
Version | 2.1.1 |
Comparing to | |
See all releases |
Code changes from version 2.1.0 to 2.1.1
- changelog.txt +3 -0
- class-forceregeneratethumbnails.php +3 -3
- force-regenerate-thumbnails.php +1 -1
- readme.txt +4 -1
changelog.txt
CHANGED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
= 2.1.0 =
|
2 |
* added: PHP 8.0 compatibility
|
3 |
* added: support generating thumbnails from original (pre-scaled), on by default
|
1 |
+
= 2.1.1 =
|
2 |
+
* fixed: invalid trailing comma syntax in PHP 7.2
|
3 |
+
|
4 |
= 2.1.0 =
|
5 |
* added: PHP 8.0 compatibility
|
6 |
* added: support generating thumbnails from original (pre-scaled), on by default
|
class-forceregeneratethumbnails.php
CHANGED
@@ -38,7 +38,7 @@ class ForceRegenerateThumbnails {
|
|
38 |
* @var float VERSION
|
39 |
* @since 2.1.0
|
40 |
*/
|
41 |
-
const VERSION =
|
42 |
|
43 |
/**
|
44 |
* Plugin initialization
|
@@ -236,7 +236,7 @@ class ForceRegenerateThumbnails {
|
|
236 |
'goback' => add_query_arg( null, null ),
|
237 |
'ids' => (int) $post->ID,
|
238 |
),
|
239 |
-
admin_url( 'tools.php' )
|
240 |
),
|
241 |
'force-regenerate-thumbnails'
|
242 |
);
|
@@ -323,7 +323,7 @@ class ForceRegenerateThumbnails {
|
|
323 |
<div id="frt-message" class="notice notice-success is-dismissible" style="display:none">
|
324 |
<p><strong><?php esc_html_e( 'All done!', 'force-regenerate-thumbnails' ); ?></strong>
|
325 |
<?php if ( ! empty( $_GET['goback'] ) ) : ?>
|
326 |
-
<a href=<?php echo '"' . esc_url(
|
327 |
<?php endif; ?>
|
328 |
</p>
|
329 |
<p id="frt-retry-container" style="display:none">
|
38 |
* @var float VERSION
|
39 |
* @since 2.1.0
|
40 |
*/
|
41 |
+
const VERSION = 211;
|
42 |
|
43 |
/**
|
44 |
* Plugin initialization
|
236 |
'goback' => add_query_arg( null, null ),
|
237 |
'ids' => (int) $post->ID,
|
238 |
),
|
239 |
+
admin_url( 'tools.php' )
|
240 |
),
|
241 |
'force-regenerate-thumbnails'
|
242 |
);
|
323 |
<div id="frt-message" class="notice notice-success is-dismissible" style="display:none">
|
324 |
<p><strong><?php esc_html_e( 'All done!', 'force-regenerate-thumbnails' ); ?></strong>
|
325 |
<?php if ( ! empty( $_GET['goback'] ) ) : ?>
|
326 |
+
<a href=<?php echo '"' . esc_url( sanitize_text_field( wp_unslash( $_GET['goback'] ) ) ) . '"'; ?>><?php esc_html_e( 'Go back to the previous page.', 'force-regenerate-thumbnails' ); ?></a>
|
327 |
<?php endif; ?>
|
328 |
</p>
|
329 |
<p id="frt-retry-container" style="display:none">
|
force-regenerate-thumbnails.php
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
Plugin Name: Force Regenerate Thumbnails
|
11 |
Plugin URI: https://wordpress.org/plugins/force-regenerate-thumbnails/
|
12 |
Description: Delete and REALLY force the regenerate thumbnail.
|
13 |
-
Version: 2.1.
|
14 |
Requires at least: 4.9
|
15 |
Requires PHP: 7.2
|
16 |
Author: Exactly WWW
|
10 |
Plugin Name: Force Regenerate Thumbnails
|
11 |
Plugin URI: https://wordpress.org/plugins/force-regenerate-thumbnails/
|
12 |
Description: Delete and REALLY force the regenerate thumbnail.
|
13 |
+
Version: 2.1.1
|
14 |
Requires at least: 4.9
|
15 |
Requires PHP: 7.2
|
16 |
Author: Exactly WWW
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: pedro-elsner, nosilver4u
|
|
3 |
Requires at least: 4.9
|
4 |
Tested up to: 6.1
|
5 |
Requires PHP: 7.2
|
6 |
-
Stable tag: 2.1.
|
7 |
License: GPLv2
|
8 |
Tags: force, regenerate thumbnails, thumbnail, thumbnails
|
9 |
|
@@ -32,6 +32,9 @@ Several filters exist for advanced usage. See more via [this gist](https://gist.
|
|
32 |
|
33 |
== ChangeLog ==
|
34 |
|
|
|
|
|
|
|
35 |
= 2.1.0 =
|
36 |
* added: PHP 8.0 compatibility
|
37 |
* added: support generating thumbnails from original (pre-scaled), on by default
|
3 |
Requires at least: 4.9
|
4 |
Tested up to: 6.1
|
5 |
Requires PHP: 7.2
|
6 |
+
Stable tag: 2.1.1
|
7 |
License: GPLv2
|
8 |
Tags: force, regenerate thumbnails, thumbnail, thumbnails
|
9 |
|
32 |
|
33 |
== ChangeLog ==
|
34 |
|
35 |
+
= 2.1.1 =
|
36 |
+
* fixed: invalid trailing comma syntax in PHP 7.2
|
37 |
+
|
38 |
= 2.1.0 =
|
39 |
* added: PHP 8.0 compatibility
|
40 |
* added: support generating thumbnails from original (pre-scaled), on by default
|