[wp-trac] [WordPress Trac] #56526: Generate WebP for JPEG based on image size

WordPress Trac noreply at wordpress.org
Wed Sep 7 15:39:43 UTC 2022


#56526: Generate WebP for JPEG based on image size
--------------------------------------+-----------------------
 Reporter:  flixos90                  |       Owner:  flixos90
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  6.1
Component:  Media                     |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------

Comment (by flixos90):

 In [changeset:"54094" 54094]:
 {{{
 #!CommitTicketReference repository="" revision="54094"
 Media: Move `wp_default_image_output_mapping()` filter callback to
 frontend scope.

 While the `image_editor_output_format` filter is primarily used in WP
 Admin, it can also be executed in frontend scope, as the related
 `WP_Image_Editor` class and `wp_unique_filename()` function are being
 loaded in that scope.

 Follow up to [54086].

 See #55443, #56526.
 }}}

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


More information about the wp-trac mailing list