[wp-trac] [WordPress Trac] #53667: Support `wp_editor_set_quality` for both loaded and saved `mime_type`s

WordPress Trac noreply at wordpress.org
Tue Aug 31 18:57:23 UTC 2021


#53667: Support `wp_editor_set_quality` for both loaded and saved `mime_type`s
--------------------------------------+---------------------
 Reporter:  mikeschroder              |       Owner:  azaozz
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  5.8.1
Component:  Media                     |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------
Changes (by azaozz):

 * owner:  (none) => azaozz
 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"51704" 51704]:
 {{{
 #!CommitTicketReference repository="" revision="51704"
 Media: apply the `wp_editor_set_quality` filter not only when loading an
 image in the editor but also when saving an converted image, after the
 mime-type of the output image has changed.

 Props mikeschroder, desrosj, azaozz.
 Fixes #53667.
 }}}

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


More information about the wp-trac mailing list