Fixed missing break after switch for edit_post