Resolves trash bug

When deleting posts, the linked posts weren't moved to trash. Apparently, the hook for trashing posts were renamed in v3.3. This fix updates the hooks to its new name, but keeping the old one for backwards compatibility.