mirror of
git://develop.git.wordpress.org/
synced 2025-02-07 08:04:27 +01:00
Ensure that the mime type passed to the `wp_editor_set_quality` filter is correct when the output format is altered with the `image_editor_output_format` filter and the image is saved multiple times, for example when generating sub sizes. Previously, the original image mime type was passed instead of the output type after the initial save. Props flixos90, peterwilsoncc. Fixes #56442. git-svn-id: https://develop.svn.wordpress.org/trunk@54417 602fd350-edb4-49c9-b593-d223f7449a82