Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

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.

share|improve this answer
    
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 '11 at 5:13
1  
I know it's MONTHS but ... Guess what works on 3.3? :D –  Ipstenu Nov 8 '11 at 15:55
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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