WordPress.org

Make WordPress Core

Ticket #4136: 4136b.diff

File 4136b.diff, 521 bytes (added by Nazgul, 8 years ago)

ODT support

  • wp-includes/functions.php

     
    11891189                'js' => 'application/javascript', 
    11901190                'pdf' => 'application/pdf', 
    11911191                'doc' => 'application/msword', 
     1192                'odt' => 'application/vnd.oasis.opendocument.text', 
    11921193                'pot|pps|ppt' => 'application/vnd.ms-powerpoint', 
    11931194                'wri' => 'application/vnd.ms-write', 
    11941195                'xla|xls|xlt|xlw' => 'application/vnd.ms-excel',