Simply add the following snippet to your theme’s wp-config.php file and you will be able to disable WordPress post revision.

Snippet source/Credit: lesterchan.net