[wp-trac] [WordPress Trac] #54476: Improve image engine detection when output format adjusted with filter (example: WebP output)
WordPress Trac
noreply at wordpress.org
Wed Aug 3 22:13:40 UTC 2022
#54476: Improve image engine detection when output format adjusted with filter
(example: WebP output)
-------------------------------------+------------------------------
Reporter: adamsilverstein | Owner: adamsilverstein
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.1
Component: Media | Version: 5.8
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+------------------------------
Comment (by adamsilverstein):
> @adamsilverstein how can a tester manually test to reproduce the issue
and validate the patch?
@hellofromTonya to reproduce the bug you need both Imagick and GD set up
and active, with WebP support only available in GD. Try testing WebP
output - before this patch, the system with prefer Imagick and WebP output
will fail. After the patch, `wp_get_image_editor` will properly consider
the output format and return the GD editor - WebP generation will work as
expected.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54476#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list