Questions tagged [mime-types]
The mime-types tag has no usage guidance.
4
questions
1
vote
0
answers
58
views
Why am I getting a Sorry you are not allowed to upload this file type with m4a files?
“GMT20200617-005050_123.m4a” has failed to upload.
Sorry, you are not allowed to upload this file type.
The files are valid and the other items I've add to this array work properly.
Here is my code in ...
1
vote
0
answers
31
views
'upload_mimes' filter seems to be restricting viewing/downloading as well
I am trying to allow administrators to upload SVG files using upload_mimes filter.
function custom_upload_mimes( $mimes ) {
// Allow additional mime types for administrators
if( ...
0
votes
0
answers
594
views
Refused to execute as script because "X-Content-Type: nosniff" was given and its Content-Type is not a script MIME type
We added an external script in the body tag of our (dev) website https://zonnebeke.reclamebureau-simplify.be/zonnebeke2022/. However, when checking the console, I see the error message:
Refused to ...
0
votes
1
answer
882
views
Upload Custom Mime Types in WordPress (SVG, WebP)
I have a plugin I created to allow for us to add additional image types (webp, svg, etc). For some reason it is failing and will not allow me to add svg.
Could use an extra set of eyes on this one ...