[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
Wed Jan 11 18:58:35 UTC 2012


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

Comment (by emhr):

 I tested 19800.check-copy.diff and 19800.less-copying.diff They both
 provide proper error reporting for the two cases I mentioned.
 They both assign unique filenames as expected for all files including the
 resized ones.

 19800.less-copying.diff looks great in comparison. Reducing disk writes is
 good.

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


More information about the wp-trac mailing list