[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
Thu Jul 15 16:38:10 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:
--------------------------+---------------------

Comment (by desrosj):

 This is closely related to #53667 in that this is an edge case with using
 the new `image_editor_output_format` filter. I've updated #53667 with a
 patch and status update, but copying here for visibility.

 > In the media chat, these were the steps agreed upon for 5.8 to address
 this issue and #53668:
 >
 > - Leave the filters in as is.
 > - Update the inline docs for the filter to explain that it is a bit
 experimental, and there are two known potential issues when using the
 filter to change image formats for sub sizes.
 > - Post a developer note detailing these two edge cases.
 > - Follow up in 5.8.x releases to fix these edge cases.
 >
 > [attachment:"53667.diff"] is an adjustment to the filter's inline
 documentation to make developer's aware of these two edge cases, and that
 the filter should generally be considered experimental.

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


More information about the wp-trac mailing list