[wp-trac] [WordPress Trac] #58137: WP creates unnecessary "cropped-"[filename] icon file

WordPress Trac noreply at wordpress.org
Wed Apr 19 15:21:28 UTC 2023


#58137: WP creates unnecessary "cropped-"[filename] icon file
--------------------------+---------------------
 Reporter:  thomask       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.3
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+---------------------
Changes (by antpb):

 * keywords:   => needs-patch
 * milestone:  Awaiting Review => 6.3


Comment:

 Thanks for the report!

 I found some further weirdness in my testing. If you remove the icon using
 the remove button and select the source 512x512 image again, it makes
 ANOTHER copy. You can repeat this process a bunch of times and each will
 result in another cropped copy made.

 @joedolson mentioned :
 Two things: 1) should be able to skip cropping if the image has the right
 dimensions, 2) should only create a cropped version once.

 Moving to 6.3 to keep visibility on this and work toward a resolution.

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


More information about the wp-trac mailing list