Force Regenerate Thumbnails - Version 2.0.5

Version Description

  • No timeout limit
Download this release

Release Info

Developer Pedro Elsner
Plugin Icon 128x128 Force Regenerate Thumbnails
Version 2.0.5
Comparing to
See all releases

Code changes from version 2.0.4 to 2.0.5

Files changed (2) hide show
  1. force-regenerate-thumbnails.php +4 -4
  2. readme.txt +3 -0
force-regenerate-thumbnails.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Force Regenerate Thumbnails
5
  Plugin URI: http://pedroelsner.com/2012/08/forcando-a-atualizacao-de-thumbnails-no-wordpress
6
  Description: Delete and REALLY force the regenerate thumbnail.
7
- Version: 2.0.4
8
  Author: Pedro Elsner
9
  Author URI: http://www.pedroelsner.com/
10
  */
@@ -428,15 +428,15 @@ class ForceRegenerateThumbnails {
428
  */
429
  function ajax_process_image() {
430
 
 
 
 
431
  // Don't break the JSON result
432
  error_reporting(0);
433
  $id = (int) $_REQUEST['id'];
434
 
435
  try {
436
 
437
- // 5 minutes per image should be PLENTY
438
- set_time_limit(900);
439
-
440
  header('Content-type: application/json');
441
  $image = get_post($id);
442
 
4
  Plugin Name: Force Regenerate Thumbnails
5
  Plugin URI: http://pedroelsner.com/2012/08/forcando-a-atualizacao-de-thumbnails-no-wordpress
6
  Description: Delete and REALLY force the regenerate thumbnail.
7
+ Version: 2.0.5
8
  Author: Pedro Elsner
9
  Author URI: http://www.pedroelsner.com/
10
  */
428
  */
429
  function ajax_process_image() {
430
 
431
+ // No timeout limit
432
+ set_time_limit(0);
433
+
434
  // Don't break the JSON result
435
  error_reporting(0);
436
  $id = (int) $_REQUEST['id'];
437
 
438
  try {
439
 
 
 
 
440
  header('Content-type: application/json');
441
  $image = get_post($id);
442
 
readme.txt CHANGED
@@ -27,6 +27,9 @@ See the [screenshots tab](http://wordpress.org/extend/plugins/force-regenerate-t
27
 
28
  == ChangeLog ==
29
 
 
 
 
30
  = 2.0.4 =
31
  * Fix issue when "opendir()" return FALSE (thanks Krody Robert)
32
 
27
 
28
  == ChangeLog ==
29
 
30
+ = 2.0.5 =
31
+ * No timeout limit
32
+
33
  = 2.0.4 =
34
  * Fix issue when "opendir()" return FALSE (thanks Krody Robert)
35