[wp-trac] [WordPress Trac] #21329: Consolidate filters and functions in wp-admin/includes/media.php
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 1 21:14:32 UTC 2012
#21329: Consolidate filters and functions in wp-admin/includes/media.php
---------------------------+------------------------------
Reporter: martythornley | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch |
---------------------------+------------------------------
Comment (by martythornley):
I have the patches between 5 and 8 if you want to see my steps but this
was all just a reorganization of existing functions, making sure upload
thickbox still worked for all tabs.
In 8, I grouped all the html for a standalone upload form ( the dragndrop
area ) into one function wp_upload_form() that takes a number af $args to
define it. I haven't tested replacing the inline form in media-new.php but
it works as a replacement in the post/page upload window.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21329#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list