Version Description
- Fix message error when WP_DEBUG in wp_config.php
Download this release
Release Info
Developer | Pedro Elsner |
Plugin | Force Regenerate Thumbnails |
Version | 1.3 |
Comparing to | |
See all releases |
Code changes from version 1.2 to 1.3
- force-regenerate-thumbnails.php +2 -2
- readme.txt +3 -0
force-regenerate-thumbnails.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Force Regenerate Thumbnails
|
4 |
Plugin URI: http://pedroelsner.com/2012/08/forcando-a-atualizacao-de-thumbnails-no-wordpress
|
5 |
Description: Delete and REALLY force the regenerate thumbnail. Based in plugin: Regenerate Thumbnails - All credits and thanks to Viper007Bond
|
6 |
-
Version: 1.
|
7 |
Author: Pedro Elsner
|
8 |
Author URI: http://www.pedroelsner.com/
|
9 |
*/
|
@@ -495,7 +495,7 @@ class ForceRegenerateThumbnails {
|
|
495 |
|
496 |
wp_update_attachment_metadata($image->ID, $metadata);
|
497 |
|
498 |
-
$message = sprintf(__('<b>"%1$s" (ID %2$s): All thumbnails was successfully regenerated in %3$s seconds.</b>', 'force-regenerate-thumbnails')
|
499 |
die(json_encode(array('success' => $message)));
|
500 |
}
|
501 |
|
3 |
Plugin Name: Force Regenerate Thumbnails
|
4 |
Plugin URI: http://pedroelsner.com/2012/08/forcando-a-atualizacao-de-thumbnails-no-wordpress
|
5 |
Description: Delete and REALLY force the regenerate thumbnail. Based in plugin: Regenerate Thumbnails - All credits and thanks to Viper007Bond
|
6 |
+
Version: 1.3
|
7 |
Author: Pedro Elsner
|
8 |
Author URI: http://www.pedroelsner.com/
|
9 |
*/
|
495 |
|
496 |
wp_update_attachment_metadata($image->ID, $metadata);
|
497 |
|
498 |
+
$message = sprintf(__('<b>"%1$s" (ID %2$s): All thumbnails was successfully regenerated in %3$s seconds.</b>', 'force-regenerate-thumbnails'), esc_html(get_the_title($image->ID)), $image->ID, timer_stop()) . $message;
|
499 |
die(json_encode(array('success' => $message)));
|
500 |
}
|
501 |
|
readme.txt
CHANGED
@@ -29,6 +29,9 @@ See the [screenshots tab](http://wordpress.org/extend/plugins/force-regenerate-t
|
|
29 |
|
30 |
== ChangeLog ==
|
31 |
|
|
|
|
|
|
|
32 |
= 1.2 =
|
33 |
* Fix for JPEG images
|
34 |
|
29 |
|
30 |
== ChangeLog ==
|
31 |
|
32 |
+
= 1.3 =
|
33 |
+
* Fix message error when WP_DEBUG in wp_config.php
|
34 |
+
|
35 |
= 1.2 =
|
36 |
* Fix for JPEG images
|
37 |
|