Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #30123, comment 9


Ignore:
Timestamp:
01/07/2015 03:23:01 PM (10 years ago)
Author:
birgire
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30123, comment 9

    initial v1  
    1 Maybe that would be ok if the ''empty'' mime type was allowed?
    2 
    3 Is that even possible? I searched the two RFC documents for "empty" but didn't got any match ;-)
     1Allowing the extra comma in {{{sanitize_mime_type()}}} would be like working with {{{sanitize_mime_types()}}} instead.
    42
    53But if not, then I guess we could use the {{{esc_attr()}}} function as suggested ;-)
    6 
    7 ps: I first thought of introducing something like {{{sanitize_mime_types()}}} to sanitize multiple mime types, but I think that's too much.