Make WordPress Core

Opened 18 years ago

Closed 17 years ago

Last modified 17 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: Focuses:

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

Download all attachments as: .zip

Change History (14)

@Otto42
18 years ago

Patch to add office 2007 extensions

#1 @Otto42
18 years ago

  • Milestone 2.7 → 2.6

#2 @Denis-de-Bernardy
17 years ago

  • Component General → Upload
  • Owner anonymous removed

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

#3 @Otto42
17 years ago

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

#4 @ryan
17 years ago

Patch needs refresh.

#5 @ryan
17 years ago

  • Milestone 2.9 → 3.0

@dd32
17 years ago

#6 @dd32
17 years ago

  • Keywords has-patch added
  • Version → 2.6

attachment 7225.diff added

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

#7 @hakre
17 years ago

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

#8 @hakre
17 years ago

  • Summary Add new Office document file type extensions → 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).

@hakre
17 years ago

#9 @hakre
17 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
17 years ago

  • Resolution → fixed
  • Status new → closed

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

#11 @hakre
17 years ago

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

Note: See TracTickets for help on using tickets.