[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 21:36:20 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:
--------------------------+------------------------------
Comment (by pbiron):
This is the 1st of several comments calling out specific questions in the
unit tests.
I wrote tests for how `scale` and `crop` effect
`_wp_attachment_backup_sizes` but not for `rotate` and `flip` because it
doesn't seem to me that they were necessary as those operations produce
the same mods on `_wp_attachment_backup_sizes` as `crop` does.
Can someone who knows the code better than I do confirm that tests for
`rotate` and `flip` aren't necessary?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44127#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list