Changes between Initial Version and Version 1 of Ticket #30123, comment 9
- Timestamp:
- 01/07/2015 03:23:01 PM (10 years ago)
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 ;-) 1 Allowing the extra comma in {{{sanitize_mime_type()}}} would be like working with {{{sanitize_mime_types()}}} instead. 4 2 5 3 But 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.