[wp-trac] [WordPress Trac] #26650: Replace media file type icons with Dashicons
WordPress Trac
noreply at wordpress.org
Thu Mar 27 16:58:02 UTC 2014
#26650: Replace media file type icons with Dashicons
----------------------------+---------------------
Reporter: wonderboymusic | Owner: nacin
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 3.9
Component: Media | Version:
Severity: normal | Resolution: fixed
Keywords: | Focuses: ui
----------------------------+---------------------
Comment (by helen):
Replying to [comment:53 nickciske]:
> Why PNGs and not SVG files?
Mostly to keep this as seamless as possible this late in the game. Icons
can be shown in any number of contexts, including themes, and people may
have existing size expectations. Width and height are determined by a file
read, and searches through an enumerated list of extensions that does not
include .svg. We *could* include SVG and do some magic around dimensions,
but since it's just XML (and therefore not necessarily secure), and the
path to mime type icons can be filtered, I don't feel good about opening
that up right now.
Definitely open to continuing to make this better in future releases,
though. In a new ticket. :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26650#comment:54>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list