• Small correction :
    – add the button to media-upload.php page (when we are on gallery tab we can update sizes of thumbnails too)
    – correct a short open tag at the end of file (fatal error on servers without short_open_tag = on)

    --- thumbnail-updater.php
    +++ thumbnail-updater.php
    @@ -143,7 +143,7 @@
         public function media_enqueue_scripts() {
             global $hook_suffix;
    
    -        if ($hook_suffix == 'media.php')
    +        if ($hook_suffix == 'media.php' || $hook_suffix == 'media-upload.php')
                 wp_enqueue_script('imgsize', $this->url.'/js/image-size.js');
         }
         /**
    @@ -224,7 +224,7 @@
    
     </div>
    
    -    <?
    +    <?php
         exit(); // needed to keep from displaying a 0 at the end of the call.
         }

    http://wordpress.org/extend/plugins/thumbnail-updater/

  • The topic ‘[Plugin: Thumbnail Updater] Small bugs corrections’ is closed to new replies.