From 76ecd259fd7d8cf79d8550e8b3fe076cfc39acea Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 23 Jul 2013 15:29:26 +0000 Subject: [PATCH] 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 --- wp-includes/functions.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 6b4dd25da6..20b7981d65 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1994,6 +1994,10 @@ function wp_get_mime_types() { 'odf' => 'application/vnd.oasis.opendocument.formula', // WordPerfect formats 'wp|wpd' => 'application/wordperfect', + // iWork formats + 'key' => 'application/vnd.apple.keynote', + 'numbers' => 'application/vnd.apple.numbers', + 'pages' => 'application/vnd.apple.pages', ) ); } /**