Perl one-line sed replacement; Cleanup custom post type plugin template