^ What Zachery is trying to convey is that, if the refcount is zero it means that the attachment is not being referenced i.e. used in any posts therefor it deletes them due to that fact alone. Why retain an old attachment (especially if storing attachments in filesystem which takes up more disk space) if its not being called by a page/post? It's basically like leaving tons of old recipes in your cook book despite having a new version on your tablet at a touch of a finger... in a sense if you followed my odd analogy lol! The script (update counter) is doing what it needs to do, if however something is in fact very odd about your attachments this might be something unrelated entirely or if related perhaps an issue with your single site alone, that we're unsure of so we cannot comment regarding that only what we know it should be doing.
|