Wordpress 4.8
When an unsupported file is attempted to be uploaded via the WP Media Library the following error message is displayed:
Sorry, this file type is not permitted for security reasons.
Is there a way (eg filter) that will allow this error message to be manipulated, such as:
Sorry, this file type is not permitted for security reasons. Please ZIP the file and try uploading the ZIP file instead.
(Obviously support is added to allow ZIP files)
$uploader_l10n
) is localized to scripts at L312, L315 and L324 via class.wp-scripts.php'slocalize()
method. But, see no filter hooks.