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:
parent
b64c0fb2f9
commit
15fe54e3e0
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue