Change name of submitted comment action to comment_submitted and $all_action to $submitted_action
Introduce maybe_send_post_event() to send a event relating to a post only if a valid action string is specified.
Documentation improvements for action_comment_post()