wordpress-develop/tests/phpunit/data/uploads
Sergey Biryukov d0deb5bc66 Upload: Correct duplicate MIME type for .xlsx files generated by Google Docs.
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
2023-09-03 12:49:51 +00:00
..
dashicons.woff Media: Reduce failing uploads following 4.7.1. 2017-02-25 16:07:25 +00:00
double-mime-type.docx Upload: Correct duplicate MIME type for .xlsx files generated by Google Docs. 2023-09-03 12:49:51 +00:00
pages-to-word.docx Media: Reduce failing uploads following 4.7.1. 2017-02-25 16:07:25 +00:00
small-audio.flac Media: Add small-audio.flac for a unit test added in [42451]. 2018-01-15 22:32:47 +00:00
small-audio.mp3 Widgets: Introduce media widgets for images, audio, and video with extensible base for additional media widgets in the future. 2017-05-11 21:10:54 +00:00
small-video.mkv Media: Store video creation date in meta. 2017-10-04 19:31:51 +00:00
small-video.mov Media: Store video creation date in meta. 2017-10-04 19:31:51 +00:00
small-video.mp4 Widgets: Introduce media widgets for images, audio, and video with extensible base for additional media widgets in the future. 2017-05-11 21:10:54 +00:00
small-video.webm Media: Store video creation date in meta. 2017-10-04 19:31:51 +00:00
test.csv Upload: Add test files for phpunit. 2019-01-07 20:52:35 +00:00
test.dfxp Ensure svn:eol-style is consistently set for all files (part 2). 2019-10-25 19:27:49 +00:00
test.rtf Upload: Add test files for phpunit. 2019-01-07 20:52:35 +00:00
test.tsv Upload: Add test files for phpunit. 2019-01-07 20:52:35 +00:00
test.vtt Upload: Add test files for phpunit. 2019-01-07 20:52:35 +00:00
video-play.svg Media: Reduce failing uploads following 4.7.1. 2017-02-25 16:07:25 +00:00