From 15fe54e3e0daba639c0bd2f1e1348ea0a9547fe6 Mon Sep 17 00:00:00 2001 From: westi 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: http://svn.automattic.com/wordpress/trunk@18091 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index a0b3fc0d8..6c69627f6 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',