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
This commit is contained in:
westi 2011-06-01 15:08:48 +00:00
parent b64c0fb2f9
commit 15fe54e3e0
1 changed files with 1 additions and 0 deletions

View File

@ -2573,6 +2573,7 @@ function get_allowed_mime_types() {
'txt|asc|c|cc|h' => 'text/plain', 'txt|asc|c|cc|h' => 'text/plain',
'csv' => 'text/csv', 'csv' => 'text/csv',
'tsv' => 'text/tab-separated-values', 'tsv' => 'text/tab-separated-values',
'ics' => 'text/calendar',
'rtx' => 'text/richtext', 'rtx' => 'text/richtext',
'css' => 'text/css', 'css' => 'text/css',
'htm|html' => 'text/html', 'htm|html' => 'text/html',