[wp-trac] [WordPress Trac] #22655: Properly pass WordPress uploading errors to wp.Uploader

WordPress Trac noreply at wordpress.org
Fri Nov 30 15:15:41 UTC 2012


#22655: Properly pass WordPress uploading errors to wp.Uploader
-------------------------+--------------------------
 Reporter:  koopersmith  |       Type:  defect (bug)
   Status:  new          |   Priority:  normal
Milestone:  3.5          |  Component:  Media
  Version:  trunk        |   Severity:  normal
 Keywords:  has-patch    |
-------------------------+--------------------------
 Currently, the media modal spits out a very generic plupload error
 whenever we encounter an error on the PHP side. This should not be the
 case. We're not formatting the error object in exactly the right format —
 we're missing the 'data' property.

 The easiest way to test is to recursively remove write access to your
 uploads directory, and then try to upload a file. If you see "An error
 occurred in the upload. Please try again later.", that's the generic
 error. If you see an error specific to the file, that's WP's response.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22655>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list