SVG/ xml uploads and its cancellation problem
-
By default, WordPress prohibits downloading a number of file formats from the mediafile admin console, for example svg. After installing OceanExtra xml/ svg files can be easily downloaded which is not good for our project for security reason. When the plugin is deactivated, the default deny-download function works perfect. Can I somehow prohibit the download of svg/xml when OceanExtra is active, for example, via functions.php of other way? Standard WordPress hooks such as deny/allow mime-types doesn’t work (code conflict breaking the site).
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘SVG/ xml uploads and its cancellation problem’ is closed to new replies.