mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
This expands the code block previously added for `.docx` files to include `.xlsx` files as well, which are known to have the same issue with `finfo_file()`. Includes a unit test case for `wp_check_filetype_and_ext()`. Reference: [https://bugs.php.net/bug.php?id=77784 PHP Bug #77784: mime_content_type() result gets doubled for .xlsx]. Follow-up to [56497]. See #57898. git-svn-id: https://develop.svn.wordpress.org/trunk@56510 602fd350-edb4-49c9-b593-d223f7449a82 |
||
|---|---|---|
| .. | ||
| dashicons.woff | ||
| double-mime-type.docx | ||
| pages-to-word.docx | ||
| small-audio.flac | ||
| small-audio.mp3 | ||
| small-video.mkv | ||
| small-video.mov | ||
| small-video.mp4 | ||
| small-video.webm | ||
| test.csv | ||
| test.dfxp | ||
| test.rtf | ||
| test.tsv | ||
| test.vtt | ||
| video-play.svg | ||