WordPress. How to revert the last changes made in posts/pages (Revisions management)
Every WordPress site has revisions disabled by default. To enable revisions, open wp-config.php located in your WordPress root directory via FTP or File Manager in the Hosting Control Panel and add the following code before the comment "That’s all, stop editing! Happy blogging" (app. line 72):
How to Disable Post Revisions in WordPress and Reduce Database Size
Post revisions is a great feature that WordPress has to offer but for some users it might not be the best option. For users who have limited database space, or for users creating WordPress as a CMS where they don’t need autosave, they can simply disable Post Revisions feature in WordPress by following this tutorial. By reducing the database size, you can also speed up your site.
How to Reduce Post Revisions in WordPress Website?
Why should we reduce their count? Each additional revision will slowly increase the size of your WordPress database. If you save a post or page multiple times, your number of revisions will greatly increase overtime. For example, if you have 100 posts and each post has 10 revisions you could be storing up to 1,000 copies of older data!