[wp-trac] [WordPress Trac] #3831: new 'upload_overrides' filter
proposal
WordPress Trac
wp-trac at lists.automattic.com
Wed Feb 21 16:11:22 GMT 2007
#3831: new 'upload_overrides' filter proposal
----------------------------+-----------------------------------------------
Reporter: pixline | Owner: anonymous
Type: enhancement | Status: new
Priority: low | Milestone: 2.1.2
Component: Administration | Version:
Severity: normal | Keywords: add filter upload overrides filename
----------------------------+-----------------------------------------------
A new filter hook for the ''$overrides'' array into
''wp_upload_tab_upload_action'' function, which lets to add optional
overrides before calling ''wp_handle_upload''. This makes possible to
alter actual WP logic for renaming files after upload, i.e. adding a
function that will sanitize or mangle in some ways the file name (add
timestamp, change some characters, and so on).
--
Ticket URL: <http://trac.wordpress.org/ticket/3831>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list