[wp-trac] [WordPress Trac] #28208: in wp_handle_upload setting the overwrite `test_upload` to false won't work for move_uploaded_file

WordPress Trac noreply at wordpress.org
Thu Oct 16 21:12:24 UTC 2014


#28208: in wp_handle_upload setting the overwrite `test_upload` to false won't work
for move_uploaded_file
--------------------------+--------------------
 Reporter:  bassjobsen    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.1
Component:  Upload        |     Version:  3.9.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------
Changes (by wonderboymusic):

 * keywords:   => has-patch
 * milestone:  Awaiting Review => 4.1


Comment:

 `$test_upload` is useless and just causes errors later in the function if
 the check is skipped. I suggest [attachment:28208.diff]

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


More information about the wp-trac mailing list