#6751 closed defect (bug) (invalid)
wp_mime_type_icon() no longer supports custom media icons
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Media | Version: | 2.5 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by lloydbudd)
Support for custom media icons, as described here, has been gutted from wp_mime_type_icon(). The crystal icons are hard coded.
ADDITIONAL DETAILS (to add finding this ticket)
from http://codex.wordpress.org/Theme_Development#Media_Icons
Wordpress uses media icons to represent attachment files on your blog and in the Admin interface, if those icons are available.
It looks for image files named by media type in the images directory of the current theme.
For example, for an attachment of MIME type audio/mpeg, Wordpress would look for an icon file at these locations, stopping after the first match (see wp_mime_type_icon):
Change History (7)
- Description modified (diff)
- Keywords needs-patch added
- Version set to 2.5
- Component changed from General to Media
- Owner anonymous deleted
comment:6
solarissmoke — 2 years ago
- Keywords needs-patch dev-feedback removed
- Resolution set to invalid
- Status changed from new to closed
The crystal icons are hard coded.
There is (and always has been) a filter on icon_dir that lets you use a custom icon set. There is also another filter on wp_mime_type_icon.

Wow.. Is this still valid? I just got linked here from the Codex page..
Any plans on putting support back if its not already been done so?