When editing a post in the admin I see records being added to the database to document my changes (here is part of the hooks I'm logging):
...
http://local.dev/151-autosave-v1/ clean_post_cache
http://local.dev/151-autosave-v1/ transition_post_status
http://local.dev/151-autosave-v1/ save_post
Then when I click the "update" button and officially save my changes I see this:
...
http://local.dev/headers-page/ clean_post_cache
http://local.dev/headers-page/ clean_page_cache
http://local.dev/headers-page/ transition_post_status
http://local.dev/151-revision-v1/ clean_post_cache
http://local.dev/151-revision-v1/ transition_post_status
http://local.dev/151-revision-v1/ save_post
http://local.dev/headers-page/ save_post
So I get the idea that revisions/auto-saved posts are just to make sure you don't lose changes before you "update" the actual post object. Is this correct or does wordpress use any of the revision/autosave post data to build the actual post?
I want to know if I can ignore/delete $post->post_type == 'revision'
without side effects to existing posts.