[wp-trac] [WordPress Trac] #29891: Display error message when Media Library upload fails
WordPress Trac
noreply at wordpress.org
Wed Oct 8 14:40:49 UTC 2014
#29891: Display error message when Media Library upload fails
----------------------------+-----------------------------
Reporter: aduth | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: trunk
Severity: normal | Keywords:
Focuses: ui, javascript |
----------------------------+-----------------------------
Currently, when an upload fails in the media library, the following
message is displayed:
An error occurred in the upload. Please try again later.
Behind the scenes, more useful error messages are set into the failure
response, but they're not being exposed to the user. For example, `/wp-
admin/includes/ms.php` returns error messages related to unavailable disk
space, but only the message above is displayed.
Attached is a patch to display the error response to the user alongside
the generic error message above.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29891>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list