Make WordPress Core

Opened 16 years ago

Closed 14 years ago

Last modified 14 years ago

#7225 closed enhancement (fixed)

Add more document file type extensions

Reported by: otto42's profile Otto42 Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 2.6
Component: Upload Keywords: has-patch
Focuses: Cc:


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 16 years ago.
Patch to add office 2007 extensions
7225.diff (2.0 KB) - added by dd32 14 years ago.
7225.2.diff (3.3 KB) - added by hakre 14 years ago.

Download all attachments as: .zip

Change History (14)

16 years ago

Patch to add office 2007 extensions

#1 @Otto42
16 years ago

  • Milestone changed from 2.7 to 2.6

#2 @Denis-de-Bernardy
15 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.)

#3 @Otto42
15 years ago

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

#4 @ryan
15 years ago

Patch needs refresh.

#5 @ryan
15 years ago

  • Milestone changed from 2.9 to 3.0

14 years ago

#6 @dd32
14 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..

#7 @hakre
14 years ago

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

#8 @hakre
14 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).

14 years ago

#9 @hakre
14 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).

#10 @azaozz
14 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

#11 @hakre
14 years ago

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

Note: See TracTickets for help on using tickets.