[wp-trac] [WordPress Trac] #48200: Fix the method used to create image sub-sizes when uploading fails with a PHP fatal error
WordPress Trac
noreply at wordpress.org
Thu Oct 3 21:00:22 UTC 2019
#48200: Fix the method used to create image sub-sizes when uploading fails with a
PHP fatal error
--------------------------+---------------------
Reporter: azaozz | Owner: azaozz
Type: defect (bug) | Status: closed
Priority: high | Milestone: 5.3
Component: Upload | Version: trunk
Severity: normal | Resolution: fixed
Keywords: | Focuses:
--------------------------+---------------------
Changes (by azaozz):
* owner: (none) => azaozz
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"46382" 46382]:
{{{
#!CommitTicketReference repository="" revision="46382"
Upload: Fix the method used to create image sub-sizes when uploading fails
with a PHP fatal error. Use a custom header to send the new attachment
post ID even in HTTP 500 responses instead of an upload reference sent by
the client. Also add another cap check and remove the action when deleting
an attachment post during a failed upload cleanup.
Props timothyblynjacobs, clorith, azaozz.
Fixes #48200.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48200#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list