0

I've noticed that images which are generated by "add_image_size" wont be deleted whenever i delete the media item. So after removing all media items in the media manager i have a upload folder full of thumbnail images.

Anyone else experiencing this?

1 Answer 1

4

Yep. This is standard behavior, everyone experiences it. There's no workaround at this time.

Edit: This was fixed in WordPress 3.3 and attachments should be removed properly now.

2
  • Ah that's interesting. I was thinking about using the "delete_attachment" hook but this is called after the actual delete, so there is no data either. Then it is waiting for the wordpress folks, thanks.
    – Jeroen
    Aug 15, 2011 at 5:13
  • 1
    I know it's MONTHS but ... Guess what works on 3.3? :D
    – Ipstenu
    Nov 8, 2011 at 15:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.