WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#7225 closed enhancement (fixed)

Add more document file type extensions

Reported by: Otto42 Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 2.6
Component: Upload Keywords: has-patch
Focuses: 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 9 years ago.
Patch to add office 2007 extensions
7225.diff (2.0 KB) - added by dd32 8 years ago.
7225.2.diff (3.3 KB) - added by hakre 8 years ago.

Download all attachments as: .zip

Change History (14)

@Otto42
9 years ago

Patch to add office 2007 extensions

#1 @Otto42
9 years ago

  • Milestone changed from 2.7 to 2.6

#2 @Denis-de-Bernardy
8 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
8 years ago

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

#4 @ryan
8 years ago

Patch needs refresh.

#5 @ryan
8 years ago

  • Milestone changed from 2.9 to 3.0

@dd32
8 years ago

#6 @dd32
8 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
8 years ago

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

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

@hakre
8 years ago

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

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

Note: See TracTickets for help on using tickets.