‘POST REVISIONS’ help us to fallback to a earlier version of the posts/pages if you accidentally/intentionally modified the contents of that particular posts/pages and want to restore the previous contents immediately. By default, POST REVISIONS are kept disabled after a fresh WordPress installation. But wait, you can enable that by following some simple steps as below:
1. Locate your wp-config.php file (Should be inside the root directory of your wordpress installation)
line and replace ‘false’ to ‘true’ like below:
3. If there is no such line found, then no worry, you can add that line
above where it says
/* That’s all, stop editing! Happy blogging. */
on the wp-config.php file.
4. And you are done!
Now go to your posts/pages ‘EDIT’ section from dashboard, and whenever you modified any posts, you can see the number of revisions at the right side panel
Sometimes, you may need to check the “screen options” and make sure you have a check mark on “Revisions”
However, enabling ‘POST REVISIONS’ will increase your database size which may reduce the performance of the DB when you have a large amount of posts/pages on your site. To minimize the issue, you can always limit the number of Revisions that your site should save like below:
where 5 is the maximum number of revisions that your site now should save to your database.
Some more useful information regarding ‘POST_REVISIONS’ from here and one of my favorite site https://premium.wpmudev.org/