[wp-trac] [WordPress Trac] #39647: Make media upload "HTTP error." more user-helpful
WordPress Trac
noreply at wordpress.org
Thu Sep 5 21:51:57 UTC 2019
#39647: Make media upload "HTTP error." more user-helpful
-------------------------------------+---------------------------------
Reporter: mikeschroder | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Media | Version: 3.4
Severity: normal | Resolution:
Keywords: needs-testing has-patch | Focuses: ui, administration
-------------------------------------+---------------------------------
Comment (by azaozz):
Looking at this again, thinking it will need to be more "integrated" with
Site Health somehow. See #45933 and #44458.
Basically timeouts and out-of-memory errors while uploading an image are
an exception from the general "fatal error" handling. In addition the AJAX
responses are... "hacky" (they don't use wp_send_json_success|error) but
the response is expected to be json for the Media Modal.
Also thinking it won't be enough to just show the cause for the fatal
error. It should include "next step" or "try this now" part too (see
changes to the default HTTP 500 error messages while uploading in #47872).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39647#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list