Add iWork formats to valid upload filetypes. key, numbers, pages. props barry, fixes #24621.
git-svn-id: https://develop.svn.wordpress.org/trunk@24782 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
499cfdb81d
commit
76ecd259fd
@ -1994,6 +1994,10 @@ function wp_get_mime_types() {
|
|||||||
'odf' => 'application/vnd.oasis.opendocument.formula',
|
'odf' => 'application/vnd.oasis.opendocument.formula',
|
||||||
// WordPerfect formats
|
// WordPerfect formats
|
||||||
'wp|wpd' => 'application/wordperfect',
|
'wp|wpd' => 'application/wordperfect',
|
||||||
|
// iWork formats
|
||||||
|
'key' => 'application/vnd.apple.keynote',
|
||||||
|
'numbers' => 'application/vnd.apple.numbers',
|
||||||
|
'pages' => 'application/vnd.apple.pages',
|
||||||
) );
|
) );
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user