From 5bb637983d074e3aa2d365accdaea01beb2f7212 Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Wed, 1 Jun 2011 15:08:48 +0000 Subject: [PATCH] Add .ics / text/calendar to the whitelist of allowed file types. Fixes #15916 props SergeyBiryukov git-svn-id: https://develop.svn.wordpress.org/trunk@18091 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index a0b3fc0d86..6c69627f65 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -2573,6 +2573,7 @@ function get_allowed_mime_types() { 'txt|asc|c|cc|h' => 'text/plain', 'csv' => 'text/csv', 'tsv' => 'text/tab-separated-values', + 'ics' => 'text/calendar', 'rtx' => 'text/richtext', 'css' => 'text/css', 'htm|html' => 'text/html',