[wp-trac] [WordPress Trac] #38560: media_handle_upload() can't handle arrayed $_FILES

WordPress Trac noreply at wordpress.org
Sat Oct 29 13:12:47 UTC 2016


#38560: media_handle_upload() can't handle arrayed $_FILES
--------------------------+------------------------------
 Reporter:  kontur        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  4.6.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by kontur):

 The obvious but unelegant workaround is to name each upload file input
 with an index or the like, and manually pick them apart before passing
 them separately to the media_upload_handle()

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


More information about the wp-trac mailing list