Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
wp-mat
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Noblogs
wp-mat
Commits
c851394c
Commit
c851394c
authored
1 year ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Log server errors
parent
cd294ea5
No related branches found
No related tags found
No related merge requests found
Pipeline
#54091
passed
1 year ago
Stage: release
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wp-mat.php
+2
-1
2 additions, 1 deletion
wp-mat.php
with
2 additions
and
1 deletion
wp-mat.php
+
2
−
1
View file @
c851394c
...
...
@@ -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
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment