[wp-trac] Re: [WordPress Trac] #3831: new 'upload_overrides' filter
proposal
WordPress Trac
wp-trac at lists.automattic.com
Sun Feb 25 14:25:04 GMT 2007
#3831: new 'upload_overrides' filter proposal
------------------------------------+---------------------------------------
Reporter: pixline | Owner: anonymous
Type: enhancement | Status: new
Priority: low | Milestone: 2.2
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback |
------------------------------------+---------------------------------------
Comment (by pixline):
Just to be clear: I'd like that *all* the $overrides array may be altered
with a filter, every override element actually in the code.
This could lead to some different plugins upload-related, allowing
developers to play with all the unleashed power of the $overrides array,
not only about filename uniqueness, but (i.e.) with a different upload
strategy, or even more.
I've proposed that patch because my first plugin ([http://pixline.net
/wordpress-plugins/#upload-plus Upload+]) would require about 90% less
code, and it won't need to clone the entire function just to alter the
$overrides array. But this is my first patch also, and I know that may be
a better way to do this. :-)
--
Ticket URL: <http://trac.wordpress.org/ticket/3831#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list