[wp-trac] [WordPress Trac] #61925: subsizes with same dimensions are generated multiple times unnecessarily

WordPress Trac noreply at wordpress.org
Tue Aug 27 14:40:41 UTC 2024


#61925: subsizes with same dimensions are generated multiple times unnecessarily
--------------------------+------------------------------
 Reporter:  kkmuffme      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by kkmuffme):

 >But for the new image I can only see one image in uploads with dimension
 800X600.

 Sorry, but obviously. How would you be able to see multiple files with the
 same name?
 It generates the **same** 800x600 file multiple times.

 Your replication is correct except that you incorrectly check the result.
 Set a breakpoint at the referenced line and you'll see that it recreates
 the image multiple times for 800x600

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


More information about the wp-trac mailing list