[wp-trac] [WordPress Trac] #47872: Try to create image sub-sizes again when uploading fails with a PHP fatal error
WordPress Trac
noreply at wordpress.org
Wed Sep 4 01:23:02 UTC 2019
#47872: Try to create image sub-sizes again when uploading fails with a PHP fatal
error
----------------------------------------------------+---------------------
Reporter: azaozz | Owner: (none)
Type: enhancement | Status: new
Priority: high | Milestone: 5.3
Component: Upload | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing needs-dev-note | Focuses:
----------------------------------------------------+---------------------
Comment (by azaozz):
Forgot to mention, the patch includes some unrelated WPCS fixes, a lot for
the code for the (super old) media iframe popup.
Leaving open as this needs more testing. Seems to work properly here, but
more eyes would be great! :)
Also, the general HTTP 500 error message was changed to:
Unexpected response from the server. The file may have been uploaded
successfully. Check in the Media Library or reload the page.
And the HTTP 500 message after uploading an image and post-processing
fails after 4 retries was changed to:
Post-processing of the image failed. If this is a photo or a large image,
please scale it down to 2500px and upload it again.
Suggestions welcome if these don't sound good :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47872#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list