Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#5874 closed enhancement (fixed)

super upload multimedia plugs and reuse

Reported by: andy's profile andy Owned by: ryan's profile ryan
Milestone: 2.5 Priority: high
Severity: normal Version: 2.5
Component: General Keywords: media has-patch
Focuses: Cc:


The attached patch enables uploads with different MIME types or file extensions to be treated differently. By filtering structured form fields and inputs/outputs, core and plugins will provide appropriate UI for knows file types.

Included as an example, images use different labels, form fields, form validation, help messages, error messages, and "Send to editor" options. All of these features can be customized for audio, video, swf, zip, etc., with a few filters.

Validation errors and help messages are displayed directly below related fields.

Related taxonomies are automatically added to appropriate attachments. The experimental "people" taxonomy for images takes advantage of a recent patch to keep the people listed in the same order they were entered.

The multimedia uploader can handle any and all allowed file types. Each attachment's edit box is customized on the fly. Form generation and processing are each passed through filters.

Much of the code in this patch will be reused in the Media Library screen.

I think this will eliminate the need to require the user to choose an uploader appropriate for the file. All attachments can go through this one screen.

Attachments (1)

5874.diff (24.8 KB) - added by andy 16 years ago.

Download all attachments as: .zip

Change History (2)

16 years ago

#1 @ryan
16 years ago

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

(In [6876]) Media handling updates from andy. fixes #5874

Note: See TracTickets for help on using tickets.