From dc24f0856763c7b6450d5bf363a552faf4582fa1 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 18 Dec 2008 03:34:29 +0000 Subject: [PATCH] Revert accidentally committed bits git-svn-id: http://svn.automattic.com/wordpress/trunk@10220 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 92251fdb2..de8c89cbc 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -2035,13 +2035,10 @@ function wp_check_filetype( $filename, $mimes = null ) { // Accepted MIME types are set here as PCRE unless provided. $mimes = ( is_array( $mimes ) ) ? $mimes : apply_filters( 'upload_mimes', array( 'jpg|jpeg|jpe' => 'image/jpeg', - 'jpeg' => 'image/jpeg', - 'jpe' => 'image/jpeg', 'gif' => 'image/gif', 'png' => 'image/png', 'bmp' => 'image/bmp', - 'tif' => 'image/tiff', - 'tiff' => 'image/tiff', + 'tif|tiff' => 'image/tiff', 'ico' => 'image/x-icon', 'asf|asx|wax|wmv|wmx' => 'video/asf', 'avi' => 'video/avi',