mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-27 20:40:21 +00:00
ffb2db05218dd406ed8f0de49f5d6e3a14e1c13a
IMAGE_EDIT_OVERWRITE is true.
When `IMAGE_EDIT_OVERWRITE` is set to true, edited image files are supposed to be deleted when an image is restored to the original. However, when an image was edited more than once, and then restored, files created during previous edits were left behind. Fixes this behavior by updating `wp_save_image()` to clean up leftover images after each edit when `IMAGE_EDIT_OVERWRITE` is true. Props bradt, chriscct7, joemcgill. Fixes #32171. git-svn-id: https://develop.svn.wordpress.org/trunk@38113 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
80.5%
CSS
9.4%
JavaScript
8.5%
SCSS
0.9%
HTML
0.7%