diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php index d2f4c14adb..1964dfb38f 100644 --- a/wp-admin/admin-functions.php +++ b/wp-admin/admin-functions.php @@ -1670,7 +1670,7 @@ function wp_handle_upload(&$file, $overrides = false) { 'avi' => 'video/avi', 'mov|qt' => 'video/quicktime', 'mpeg|mpg|mpe' => 'video/mpeg', - 'txt|c|cc|h|php' => 'text/plain', + 'txt|c|cc|h' => 'text/plain', 'rtx' => 'text/richtext', 'css' => 'text/css', 'htm|html' => 'text/html',