WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #45615, comment 27


Ignore:
Timestamp:
12/25/2018 02:00:02 PM (6 months ago)
Author:
birgire
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #45615, comment 27

    initial v1  
    1818will mean that the {{{.vtt}}} file type will only be expected to have the {{{text/plain}}} mime type, regardless of other possible matches.
    1919
    20 It also seems that {{{file_info()}}} is not consistent determining the real mime type info depending on the system setup.
     20It also seems that {{{finfo_file()}}} is not consistent determining the real mime type info depending on the system setup.
    2121
    2222So simply assigning a file extension to multiple mime types in {{{wp_get_mime_types()}}} will not solve the issue here. An actual support for multiple mime types or mime type "fallbacks" seems to be needed.