Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update technique for secondary mime-check for .tex files.
The logic in WP's wp_check_filetype_and_ext() recently changed such that the "real" mime type identified by finfo_file() must match the mime type identified by the extension in order to return a passing value. This was not compatible with the workaround technique introduced in 60f6393. See #2476, #3425.
- Loading branch information