[wp-trac] [WordPress Trac] #30123: Custom Mime Type filter problem in upload.php list view
WordPress Trac
noreply at wordpress.org
Wed Jan 7 15:13:59 UTC 2015
#30123: Custom Mime Type filter problem in upload.php list view
--------------------------+-----------------------------
Reporter: csschris | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.1
Component: Media | Version: 4.0
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: administration
--------------------------+-----------------------------
Comment (by birgire):
Maybe that would be ok if the ''empty'' mime type was allowed?
Is that even possible? I searched the two RFC documents for "empty" but
didn't got any match ;-)
But if not, then I guess we could use the {{{esc_attr()}}} function as
suggested ;-)
ps: I first thought of introducing something like
{{{sanitize_mime_types()}}} to sanitize multiple mime types, but I think
that's too much.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30123#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list