[wp-trac] [WordPress Trac] #54476: Improve image engine detection when output format adjusted with filter (example: WebP output)

WordPress Trac noreply at wordpress.org
Fri Oct 7 19:01:48 UTC 2022


#54476: Improve image engine detection when output format adjusted with filter
(example: WebP output)
--------------------------------------------+------------------------------
 Reporter:  adamsilverstein                 |       Owner:  adamsilverstein
     Type:  defect (bug)                    |      Status:  closed
 Priority:  normal                          |   Milestone:  6.1
Component:  Media                           |     Version:  5.8
 Severity:  normal                          |  Resolution:  fixed
 Keywords:  has-patch needs-testing commit  |     Focuses:
--------------------------------------------+------------------------------
Changes (by adamsilverstein):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"54416" 54416]:
 {{{
 #!CommitTicketReference repository="" revision="54416"
 Media: improve image engine detection when using the output format filter.

 When the output format is altered with the `image_editor_output_format`
 filter, prefer the image engine that supports both input an output types,
 falling back to the engine that supports the input type.

 Correct an issue where the output format filter wasn't respected because
 the selected engine didn't support the output format.

 Props mikeschroder, ironprogrammer.
 Fixes #54476.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54476#comment:33>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list