All notable changes to this project will be documented in this file, formatted via this recommendation.
- Include svg into images defined with wp_get_ext_types if svg is enabled.
- "Add your custom file types" link did not work before clicking on "Add file types manually" link.
- Implemented sanitizing of SVG & HTML files.
- Added message about allowing risky file types.
- Some file types, even enabled, were not possible to upload using the Gutenberg editor.
- New functionality to define file extension and MIME type with sample file.
- The minimum required PHP version is now 7.0.
- The minimum required WordPress version is now 5.5.
- Updated styles and icons.
- IMPORTANT - Support for WordPress 5.1 has been discontinued. If you are running WordPress 5.1, you MUST upgrade WordPress before installing File Upload Types 1.3.0. Failure to do that will disable File Upload Types core functionality.
- Enhancement - Add
.world
and.heif
extensions to the default list. - Enhancement - The list of mime types was extended with
.json
,.otf
, and.ttf
file extensions. - Enhancement - Do not load the plugin textdomain locally, since it is not needed starting from WP 4.6.
- Fix - Microsoft Office MIME type wasn't properly supported.
- Fix - PHP notices when invalid files are uploaded.
- Enhancement - Replace jquery.ready with recommended syntax.
- Fix - Correctly load composer autoload.
- Enhancement - Add .eps extension to the default list.
- Enhancement - Add 'application/pdf' mime type to .ai extension.
- Feature - Multiple MIME types support for a single extension.
- Fix - WordPress 5.5 not clearing values for reptetitive fields.
- Enhancement - Remove already allowed jpg,jpeg extension from the list.
- Enhancement - Improve 'add your custom file types' link'.
- Dev - Deprecate 'file_upload_types_strict_check' filter without any alternative.
- Dev - Increase priority of 'wp_check_filetype_and_ext' filter to 999.
- Fix - Ignore file types that are already allowed by default.
- Fix - Remove duplicate MIME types of the same extension that could create conflict.
- Refactor - Autoloading plugin files and use namespace.
- Fix - Error uploading file types with numerical extension.
- Fix - Icon position on small sized devices.
- Enhancement - Custom types field color visisbility.
- Enahcement - Parameters to the strict check filter.
- Initial release.