AutoSave feature has been added into WordPress core since version 2.1 to protect user from accidental lose of writing or draft when web browser crashes or tab been accidentally closed. AutoSave will auto save a copy of edited post or page every 60 seconds provided there is a change on the content in the editor.
However, there is only ever a maximum of one AutoSave version for any given post. New AutoSaves created will overwrite old AutoSaves. Beside, AutoSaves are stored as a special type of revision so that the auto saved with a more recent version of data does not overwrite actual published content, and is used to restore unsaved work only when necessary.
For webmaster who wants to take a post revision history tracking based on each and every AutoSave copy been made, there is an option that force WordPress to save each auto saved copy of post content also as a post revision, a feature introduced in WordPress 2.6.
To save and store a post or page as a revision version whenever AutoSave is triggered, add in the following line of code to wp-config.php configuration file:
where int is an integer bigger than 0 (0 represents false which disable post revisions storage). The integer number set will represent the limit of number of post revisions WordPress going to save and store per post or per page in database. Each AutoSave session will increase the revision count by 1 too. If the number of revisions already exceed the limit, oldest revisions are automatically deleted. Note that AutoSave will always have its own saved copy to reflect the most current changes.
- How to Install Windows 10 & Windows 8.1 with Local Account (Bypass Microsoft Account Sign In)
- How to Upgrade CentOS/Red Hat/Fedora Linux Kernel (cPanel WHM)
- How to Install Popcorn Time Movies & TV Shows Streaming App on iOS (iPhone & iPad) With No Jailbreak
- Stream & Watch Free Torrent Movies & TV Series on iOS with Movie Box (No Jailbreak)
- Windows 10 Preview ISO Images Download Links & Product Key Live
- LiteManager Pro Free Download With Unlimited Genuine Lifetime License and Upgrades
- OkayFreedom VPN 1 Year Premium Code (Unlimited Traffic Volume) Free Download With Genuine License Key Code
- How To Disable Start Screen In Microsoft Office 2016
- Windows 10 Insider Preview Build 15063 ISO Image File Are Now Available To Fast Ring Insiders
- Windows 10 Insider Preview Build 15063 Official Available for Insiders in Fast Ring for PC and Mobile – Here’s What’s News, Fixes and Enhancement Changelog