Make WordPress Core


Ignore:
Timestamp:
08/23/2007 06:28:14 PM (19 years ago)
Author:
westi
Message:

Allow upload of all Open Office document types props nbachiyski fixes #4615

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r5842 r5929  
    10301030                'pdf' => 'application/pdf',
    10311031                'doc' => 'application/msword',
    1032                 'odt' => 'application/vnd.oasis.opendocument.text',
    10331032                'pot|pps|ppt' => 'application/vnd.ms-powerpoint',
    10341033                'wri' => 'application/vnd.ms-write',
    … …  
    10411040                'zip' => 'application/zip',
    10421041                'gz|gzip' => 'application/x-gzip',
    1043                 'exe' => 'application/x-msdownload'
     1042                'exe' => 'application/x-msdownload',
     1043                // openoffice formats
     1044                'odt' => 'application/vnd.oasis.opendocument.text',
     1045                'odp' => 'application/vnd.oasis.opendocument.presentation',
     1046                'ods' => 'application/vnd.oasis.opendocument.spreadsheet',
     1047                'odg' => 'application/vnd.oasis.opendocument.graphics',
     1048                'odc' => 'application/vnd.oasis.opendocument.chart',
     1049                'odb' => 'application/vnd.oasis.opendocument.database',
     1050                'odf' => 'application/vnd.oasis.opendocument.formula',
     1051
    10441052        ));
    10451053
Note: See TracChangeset for help on using the changeset viewer.