[wp-trac] [WordPress Trac] #16820: Browser uploader in media library shows no error information

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 10 11:45:54 UTC 2011


#16820: Browser uploader in media library shows no error information
--------------------------+-----------------------------
 Reporter:  solarissmoke  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Upload        |    Version:  3.1
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 In `wp-admin/media-new.php`, if you use the browser uploader, you get no
 information about errors.

 For example if the file you upload is too large, you just get redirected
 to the media library with the message "Error saving media attachment." Not
 very helpful - and also inconsistent - because if you do exactly the same
 thing using the pop-up image editor (i.e., select "Add an Image" from the
 Upload/Insert menu while editing a post), then you do get useful error
 information.

 I propose that if there are errors, the user should not be redirected to
 the Media Library. Instead Wordpress should wp_die telling them what went
 wrong.

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


More information about the wp-trac mailing list