[wp-trac] [WordPress Trac] #44127: editing an image can result in intermediate sized images left over after the image is deleted

WordPress Trac noreply at wordpress.org
Thu Jun 7 19:54:03 UTC 2018


#44127: editing an image can result in intermediate sized images left over after
the image is deleted
--------------------------+------------------------------
 Reporter:  pbiron        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  4.9.5
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by pbiron):

 * Attachment "MediaEditBackupSizes.php" added.

 There are currently no unit tests for the creation/modification of the
 `_wp_attachment_backup_sizes` postmeta by `wp_save_image()`.  So, before
 moving forward with a patch for this ticket I'm proposing these tests as
 benchmark on existing behavior.  Add this file to
 /tests/phpunit/tests/ajax.

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


More information about the wp-trac mailing list