toscho/T5-404-Tools — Issue #1: Handle 410
Author: toscho
Created: 2012-03-02 13:30:53+00:00
State: open
Labels: enhancement

When a post (post, page, public custom post type, attachment) is moved from `published` to `trash` grab the permalink and the post id.
Add both to a custom option and check this option on 404.
Search for a `410.php` in the theme and load it instead of the `404.php`. If there is no `410.php` use a default page from the plugin directory.