diff --git a/classes/tools/s3/ilab-media-s3-tool.php b/classes/tools/s3/ilab-media-s3-tool.php index 2e82651a..36ee5ad1 100644 --- a/classes/tools/s3/ilab-media-s3-tool.php +++ b/classes/tools/s3/ilab-media-s3-tool.php @@ -209,6 +209,10 @@ public function handleUpload($upload, $context='upload') { if (file_is_displayable_image($upload['file'])) return $upload; + if (isset($_REQUEST["action"]) && ($_REQUEST["action"]=="upload-plugin")) { + return $upload; + } + $s3=$this->s3Client(true); if ($s3) { diff --git a/ilab-media-tools.php b/ilab-media-tools.php index d06b88e6..21937af9 100644 --- a/ilab-media-tools.php +++ b/ilab-media-tools.php @@ -4,7 +4,7 @@ Plugin URI: http://interfacelab.com/media-tools Description: Complete media management tools Author: Jon Gilkison -Version: 1.0.8 +Version: 1.0.9 Author URI: http://interfacelab.com */