[wp-trac] [WordPress Trac] #16849: Add a filter for $overrides in wp_handle_upload()

WordPress Trac noreply at wordpress.org
Thu Oct 16 21:25:58 UTC 2014


#16849: Add a filter for $overrides in wp_handle_upload()
-------------------------+-----------------------------
 Reporter:  iandunn      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Upload       |     Version:  3.1
 Severity:  minor        |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+-----------------------------

Comment (by wonderboymusic):

 `_wp_handle_upload()` is now a mashup of the two, the overrides are gross,
 but it is physically impossible to change the value of them without a
 filter because `media_handle_upload()` never passes that argument.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/16849#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list