[wp-trac] [WordPress Trac] #53668: Thumbnails clobbered as results of image_editor_output_format filter not factored into wp_unique_filename

WordPress Trac noreply at wordpress.org
Fri Jul 16 09:59:02 UTC 2021


#53668: Thumbnails clobbered as results of image_editor_output_format filter not
factored into wp_unique_filename
--------------------------+---------------------
 Reporter:  ianmjones     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.8.1
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+---------------------
Changes (by ianmjones):

 * Attachment "53668.diff" added.

 Patch that allows `wp_unique_filename` to take into consideration
 alternate formats for the uploaded image, as well as other upload formats
 that may result in thumbnails for the current image format.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53668>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list