[wp-trac] [WordPress Trac] #19800: Media & WXR Uploads: Inaccurate error reporting because move_uploaded_file() fails to return false.

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 28 20:02:45 UTC 2012


#19800: Media & WXR Uploads: Inaccurate error reporting because
move_uploaded_file() fails to return false.
--------------------------+------------------------------
 Reporter:  emhr          |       Owner:  duck_
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Upload        |     Version:  3.3
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+------------------------------
Changes (by duck_):

 * owner:   => duck_
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [20019]:
 {{{
 #!CommitTicketReference repository="" revision="20019"
 Drop image resizing code from wp_handle_upload(). Fixes #19800.

 This code stops wp_handle_upload() from reporting errors when the upload
 couldn't be moved to its final local and it was a non-JS fallback that is
 unused.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19800#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list