Skip to content
Snippets Groups Projects

Blacklist pdf

Merged putro requested to merge blacklist_pdf into master
1 unresolved thread
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
+ 2
1
@@ -30,7 +30,8 @@ class WP_Mat {
function is_supported_mime_type($mimetype) {
if (substr($mimetype, 0, 6) === "video/") {
return false;
if (substr($mimetype, 0, 15) === "application/pdf") {
}
if ($mimetype === "application/pdf") {
return false;
}
return true;
Loading