[wp-trac] [WordPress Trac] #49587: Add error handling for the media manager Ajax response

WordPress Trac noreply at wordpress.org
Thu Feb 4 09:16:26 UTC 2021


#49587: Add error handling for the media manager Ajax response
--------------------------+-----------------------------------------
 Reporter:  johnbillion   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Media         |     Version:  3.5
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  javascript, administration
--------------------------+-----------------------------------------

Comment (by johnbillion):

 I discovered today there is already UI for an error in this view. If you
 attempt to drag and drop a file while you're on the Media Library tab and
 there is an error from the upload, the error message appears in the
 sidebar. Screenshot above.

 We can reuse this existing UI for the error message, we just need to
 connect it up to the response from the Ajax call for attachment queries.

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


More information about the wp-trac mailing list