Added functionality to delete-post.php
Made delete-post.php delete posts handed to it through post.