mirror of
git://develop.git.wordpress.org/
synced 2025-03-15 17:39:52 +01:00
->multi_resize()
method of the WP_Image_Editor
subclasses, when looping through potential crops, we need to make sure the crop isn't the exact same dimensions as the original image before copying it as a new crop.
This ensures that we don't save multiple copies of the same image. Supposedly broke in [30639], but this logic was always missing. When I tested reverting [30639], there were still 2 files being created. Fixes #31296. git-svn-id: https://develop.svn.wordpress.org/trunk@31576 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
81.6%
CSS
8.8%
JavaScript
8.1%
SCSS
0.8%
HTML
0.7%