You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
The currently allowed image formats: 'jpg,jpeg,gif,png,bmp' are hardcoded when creating a new WPUF_Uploader. This causes users to be unable to upload other image formats, even though they are supported in the WordPress backend.
Is it possible to add a custom option that allows to add additional image formats?
Currently released code:
<script type="text/javascript">
;(function($) {
$(document).ready( function(){
var uploader = new WPUF_Uploader('wpuf--pickfiles', 'wpuf--upload-container', , '', 'jpg,jpeg,gif,png,bmp', );
wpuf_plupload_items.push(uploader);
});
})(jQuery);
</script>
The text was updated successfully, but these errors were encountered:
Description:
The currently allowed image formats: 'jpg,jpeg,gif,png,bmp' are hardcoded when creating a new WPUF_Uploader. This causes users to be unable to upload other image formats, even though they are supported in the WordPress backend.
Is it possible to add a custom option that allows to add additional image formats?
Currently released code:
The text was updated successfully, but these errors were encountered: