Hello, I am resurrecting this old post because I am more or less looking for the same thing.
Whenever a post is created the save_post
filter immediately creates another revision of the post, so, consecutive posts, don’t have consecutive ids.
However, I do need revisions, so how can I prevent revisions on the save_post
function?