Rebuild themes when a post or file is deleted...

Rebuild themes when a post or file is deleted in the moderation panel.
Regenerate themes after editing a post