[wp-trac] [WordPress Trac] #62331: Imaged Edit GD Control Flow
WordPress Trac
noreply at wordpress.org
Tue Nov 19 20:21:46 UTC 2024
#62331: Imaged Edit GD Control Flow
-------------------------------------------------+-------------------------
Reporter: glynnquelch | Owner:
| adamsilverstein
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.7.1
Component: Media | Version: 6.5
Severity: normal | Resolution: fixed
Keywords: has-patch fixed-major commit dev- | Focuses:
reviewed |
-------------------------------------------------+-------------------------
Changes (by desrosj):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"59423" 59423]:
{{{
#!CommitTicketReference repository="" revision="59423"
Media: Avoid running expensive logic twice using GD.
Support for uploading AVIF was added in [57524]. A new block of
conditional logic was added determine which function should be used to
create the new image file that resulted in these expensive functions being
run twice.
This combines the two conditional logic to ensure the appropriate function
is only run once regardless of format.
Reviewed by adamsilverstein.
Merges [59413] to the 6.7 branch.
Props adamsilverstein, glynnquelch.
Fixes #62331.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62331#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list