WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 3 years ago

Last modified 3 years ago

#7225 closed enhancement (fixed)

Add more document file type extensions

Reported by: Otto42 Owned by:
Priority: normal Milestone: 3.0
Component: Upload Version: 2.6
Severity: normal Keywords: has-patch
Cc:

Description

Office 2007 introduced a bunch of new extensions and mime-types. So, anybody using WP on internal systems is having problems with users uploading files.

Patch attached for trunk with all those extensions.

Attachments (3)

office2007docs.diff (1.9 KB) - added by Otto42 5 years ago.
Patch to add office 2007 extensions
7225.diff (2.0 KB) - added by dd32 3 years ago.
7225.2.diff (3.3 KB) - added by hakre 3 years ago.

Download all attachments as: .zip

Change History (14)

Otto425 years ago

Patch to add office 2007 extensions

comment:1 Otto425 years ago

  • Milestone changed from 2.7 to 2.6

comment:2 Denis-de-Bernardy4 years ago

  • Component changed from General to Upload
  • Owner anonymous deleted

isn't this fixed already? (see wp_file_types or whatever it's called, that contains the list of all mime types.)

comment:3 Otto424 years ago

No, it's not fixed. All those extensions are still unsupported. Rather annoying, actually.

comment:4 ryan4 years ago

Patch needs refresh.

comment:5 ryan4 years ago

  • Milestone changed from 2.9 to 3.0

dd323 years ago

comment:6 dd323 years ago

  • Keywords has-patch added
  • Version set to 2.6

attachment 7225.diff added

  • Updated patch
  • Based purely off Otto's list, I've not checked anything is right..

comment:7 hakre3 years ago

New filetypes look OK in my eyes, they seem to be correct.

comment:8 hakre3 years ago

  • Summary changed from Add new Office document file type extensions to Add more document file type extensions

Next to the new office document file type extenstions I added flv to video ( Related: #11051 ) and Matroska Media Containers (mkv, mka).

hakre3 years ago

comment:9 hakre3 years ago

And: asc for ascii text (text was a bit alone). Additionally I formatted wp_ext2type to make it more readable (the lines are still a little long).

comment:10 azaozz3 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [12581]) Add more document file type extensions, props Otto42, dd32, hakre, fixes #7225

comment:11 hakre3 years ago

Related: Some changes left open for ogg/xiph.org in #11519.

Note: See TracTickets for help on using tickets.