diff --git a/wp-mat.php b/wp-mat.php index 64eb8b2be335764c6e24ccd18c489877bb71a2d5..c435f9924e8df8ef407ba14771da1bdd3de8621a 100644 --- a/wp-mat.php +++ b/wp-mat.php @@ -3,7 +3,7 @@ * Plugin Name: wp-mat * Plugin URI: https://git.autistici.org/noblogs/wp-mat * Description: Process uploaded files through MAT - * Version: 0.0.4 + * Version: 0.0.5 * Author: Autistici/Inventati * Author URI: https://www.autistici.org/ * License: MIT @@ -81,6 +81,7 @@ function wp_mat_handle_upload_prefilter($file) { "size" => filesize($new_tmp_file), ); } else { + error_log("wp-mat: server error for file=".json_encode($file)); @unlink($new_tmp_file); }