[wp-trac] [WordPress Trac] #5874: super upload multimedia plugs and
reuse
WordPress Trac
wp-trac at lists.automattic.com
Sat Feb 16 05:30:11 GMT 2008
#5874: super upload multimedia plugs and reuse
-------------------------+--------------------------------------------------
Reporter: andy | Owner: ryan
Type: enhancement | Status: new
Priority: high | Milestone: 2.5
Component: General | Version: 2.5
Severity: normal | Keywords: media has-patch
-------------------------+--------------------------------------------------
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.
--
Ticket URL: <http://trac.wordpress.org/ticket/5874>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list