Don't start files processing if no files are uploaded
Change the notification case from success to failure when ticket wasn't submitted
Register post type earlier to avoid 404 when redirecting to a single page in init
Load ticket content in the editor after failed submission
Unslash the value before returning