unused post_types show in search and cannot be deleted
|Reported by:||thomask||Owned by:|
when you create some posts with custom post_type and then delete the custom post_type definition, the posts are still visible in search (typicaly title+excerpt, but they throw 404 when clicked).
Second problem is, that you cannot delete them (only via e.g. phpmyadmin) - first it is hard to find them, but even when you know the ID a try to direct edit it, it shows "you are not allowed to edit this item", even when I am administrator with all rights.