[wp-trac] [WordPress Trac] #55150: `_wp_attachment_backup_sizes` meta is not deleted when image is restored and IMAGE_EDIT_OVERWRITE is defined
WordPress Trac
noreply at wordpress.org
Tue Jan 24 07:50:08 UTC 2023
#55150: `_wp_attachment_backup_sizes` meta is not deleted when image is restored
and IMAGE_EDIT_OVERWRITE is defined
-------------------------------------------------+-------------------------
Reporter: mitogh | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.2
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback needs- | Focuses:
testing | performance
-------------------------------------------------+-------------------------
Comment (by iapial):
== Reproduction Report
This report validates that the issue can be reproduced, and the indicated
patch addresses the issue.
Patch tested: https://patch-diff.githubusercontent.com/raw/WordPress
/wordpress-develop/pull/3537.diff
=== Environment
* OS: macOS 13.0 (22A380)
* Web Server: nginx/1.23.3
* PHP: 7.4.33
* WordPress: 6.2-alpha-54642-src
* Browser: Chrome Version 108.0.5359.124
* Theme: Twenty Twenty-Three
* Active Plugins:
* None
=== Actual Results
- ✅ Error condition occurs (reproduced).
- ✅ Issue resolved with patch.
=== Additional Notes
- I have checked the issue and the patch works well, the
"_wp_attachment_backup_sizes" meta_key disappears after the patch.✅
=== Supplemental Artifacts
- Before patch the original image meta
data(Screenshot):[https://d.pr/i/Qko5Qm]
- Before patch after Transformed image meta
data(Screenshot):[https://d.pr/i/hqBJcs]
- Before patch after the restoration image meta
data(Screenshot):[https://d.pr/i/sY9Ysg]
- After patching the restoration image meta
data(Screenshot):[https://d.pr/f1x4uR]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55150#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list