#20658 closed defect (bug) (fixed)
Thumbnails are not removed when the main image is deleted
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.4 |
| Component: | Media | Version: | 3.4 |
| Severity: | major | Keywords: | has-patch |
| Cc: |
Description
wp_delete_attachment() relies on attachment metadata when removing intermediate images:
http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/post.php#L3820
Since [20435], the metadata is no longer accessible (deleted from both database and cache) at that point.
Attachments (1)
Change History (4)
SergeyBiryukov — 12 months ago
- Owner set to ryan
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

In [20770]: