Make WordPress Core

Opened 8 years ago

Closed 5 years ago

#6348 closed enhancement (fixed)

Hook to allow additional post_mime_types in upload.php

Reported by: technosailor Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version:
Component: Media Keywords: has-patch media gsoc
Focuses: Cc:


In case someone wanted to create additional mimesets, and/or do other interesting things like Flickr-like photosets and need a spot to add "stuff" to a navigation intelligently.

Attachments (3)

6348.diff (524 bytes) - added by technosailor 8 years ago.
6348.2.diff (656 bytes) - added by Denis-de-Bernardy 6 years ago.
6348.3.diff (670 bytes) - added by wojtek.szkutnik 5 years ago.

Download all attachments as: .zip

Change History (16)

8 years ago

#1 @ryan
7 years ago

  • Component changed from General to Upload
  • Owner anonymous deleted

#2 @westi
7 years ago

  • Milestone changed from 2.7 to 2.8

Postpone to 2.8 for now

#3 @thee17
7 years ago

  • Keywords has-patch needs-testing added

Does this patch still work or considered?

#4 @Denis-de-Bernardy
7 years ago

  • Keywords needs-patch added; has-patch removed
  • Milestone changed from 2.8 to Future Release

broken patch

#5 @Denis-de-Bernardy
7 years ago

  • Milestone Future Release deleted
  • Resolution set to invalid
  • Status changed from new to closed

isn't this what the upload_mimes filter does?

#6 @Denis-de-Bernardy
7 years ago

  • Milestone set to Future Release
  • Resolution invalid deleted
  • Status changed from closed to reopened

nm, you're into the navigation area.

#7 @Denis-de-Bernardy
6 years ago

  • Keywords has-patch commit added; needs-patch needs-testing removed
  • Milestone changed from Future Release to 2.8.1

refreshed the patch.

#8 @westi
6 years ago

  • Component changed from Upload to Media
  • Keywords media added; commit removed
  • Milestone changed from 2.8.1 to 2.9
  • Type changed from defect (bug) to enhancement

I don't think this is for 2.8.1.

We should leave this to 2.9 and take it into consideration in the probable work on better media management.

#9 @westi
6 years ago

  • Milestone changed from 2.9 to 3.0

As we are now feature frozen it is too late to include this into 2.9.

Moving to 3.0 where we hope to work more on the media UI.

#10 @nacin
6 years ago

  • Milestone changed from 3.0 to 3.1

Moving to 3.1 as this is media.

#11 @wojtek.szkutnik
5 years ago

  • Cc wojtek.szkutnik@… added
  • Keywords gsoc added

bumping with a refreshed patch

#12 @nacin
5 years ago

  • Milestone changed from Awaiting Triage to 3.1

Looks good.

#13 @westi
5 years ago

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

(In [16047]) Add a filter to the mime type list displayed in the iframe media uploader when viewing the media library. Fixes #6348 props wojtek.szkutnik

Note: See TracTickets for help on using tickets.