Enable/disable post revisions programmatically
<p>Is there a way to temporarily disable revisions.... I have noticed that <code>wp_update_post</code> is very slow and creates revisions I don't need.
The fix could be to disable revisions before issuing <code>wp_update_post</code> and re-enable the feature once done....</p>
