WordPress.org

Make WordPress Core

Opened 7 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:

Description

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 7 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)

@technosailor7 years ago

comment:1 @ryan7 years ago

  • Component changed from General to Upload
  • Owner anonymous deleted

comment:2 @westi7 years ago

  • Milestone changed from 2.7 to 2.8

Postpone to 2.8 for now

comment:3 @thee176 years ago

  • Keywords has-patch needs-testing added

Does this patch still work or considered?

comment:4 @Denis-de-Bernardy6 years ago

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

broken patch

comment:5 @Denis-de-Bernardy6 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?

comment:6 @Denis-de-Bernardy6 years ago

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

nm, you're into the navigation area.

@Denis-de-Bernardy6 years ago

comment:7 @Denis-de-Bernardy6 years ago

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

refreshed the patch.

comment:8 @westi6 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.

comment:9 @westi6 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.

comment:10 @nacin6 years ago

  • Milestone changed from 3.0 to 3.1

Moving to 3.1 as this is media.

@wojtek.szkutnik5 years ago

comment:11 @wojtek.szkutnik5 years ago

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

bumping with a refreshed patch

comment:12 @nacin5 years ago

  • Milestone changed from Awaiting Triage to 3.1

Looks good.

comment:13 @westi5 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.