[wp-trac] [WordPress Trac] #62331: Imaged Edit GD Control Flow
WordPress Trac
noreply at wordpress.org
Mon Nov 18 18:03:43 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 needs-testing | Focuses:
-------------------------------------+------------------------------
Changes (by desrosj):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"59413" 59413]:
{{{
#!CommitTicketReference repository="" revision="59413"
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.
Props adamsilverstein, glynnquelch.
Fixes #62331.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62331#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list