Die when the expected payload structure is not available
Remove unused sanitize_meta
Move the payload check to template_redirect
Post status should be publish on deploy instances