Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter fhfournier

    (@fhfournier)

    I am also currently experiencing this issue on my Multisite. Attempting to replace a CSV file. I’ve added the CSV extension to the acceptable list of uploadable files, and am able to upload a new csv just fine. But attempting to replace the CSV with the latest version of this plugin, produces this error.

    Plugin Author ShortPixel

    (@shortpixel)

    @fhfournier thank you for checking into this, would you mind making a pull request here
    https://github.com/short-pixel-optimizer/enable-media-replace
    so we can maybe quickly integrate this and release a new update?

    Thank you,
    Alex

    Hello, I’m having the same issue but with .vcf files. My client requires .vcf files on their site, I have 15 files to replace and get the security guidelines error when I try to update the files. Any suggestions?

    Same issue here when trying to replace SVG files. WordPress 5.2.3, PHP 7.0, plugin version 3.3.6.

    Please check if WordPress uploads it via media library -> add new. If that’s not the case, then you need to add those mime-types to the allowed mime-types in WordPress ( there are plugins for that ).

    I have define('ALLOW_UNFILTERED_UPLOADS', true); in my wp-config.php on a site for a client who likes to upload all kinds of weird files. I’m still getting this message, but only when I try to use the replace media function. My client was able to upload an XLSM file via Media > Add New, but now they are unable to replace the file with a similar XLSM file. It seems like perhaps the plugin does not respect the ALLOW_UNFILTERED_UPLOADS setting.

    Confirming the same issue @dmatamales reported. I also have define('ALLOW_UNFILTERED_UPLOADS', true); set in wp-config.php, yet this plugin blocks the SVG I’m attempting to upload through the interface. I can also upload the image directly to the media library outside of this plugin.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘File type does not meet security guidelines. Try another.’ is closed to new replies.