Opened 3 years ago

Last modified 15 months ago

#11824 accepted defect (bug)

Erroneous MIME type for .ico files

Reported by: davide.vicario Owned by: cnorris23
Priority: low Milestone: Future Release
Component: Media Version: 2.9.1
Severity: minor Keywords: has-patch dev-feedback
Cc: ryan@…

Description

wp-includes/functions.php

line 2286

$mimes = apply_filters( ...
...
'ico' => 'image/x-icon',
...)

this is an erroneous label for ico file.
the right one is:

$mimes = apply_filters( ...
...
'ico' => 'image/vnd.microsoft.icon',
...)

read : http://www.iana.org/assignments/media-types/image/vnd.microsoft.icon

or: http://en.wikipedia.org/wiki/ICO_(file_format)

Attachments (1)

11824.001.diff (457 bytes) - added by cnorris23 3 years ago.

Download all attachments as: .zip

Change History (5)

  • Component changed from General to Media
  • Keywords has-patch added
  • Milestone set to Future Release
  • Owner set to cnorris23
  • Status changed from new to accepted
  • Version set to 2.9.1

possible for 3.1?

  • Cc ryan@… added
  • Keywords dev-feedback added

Patch still applies cleanly. Possible for 3.2?

Related: #16434

Note: See TracTickets for help on using tickets.