[feature/revisions] Fix submit_post() helper to allow editing

PHPBB3-10755