This article is part of a series created in partnership with SiteGround. Thank you for supporting the partners who make SitePoint possible.
WordPress provides a revisions system which records a full copy of every page and post when it's saved. The advantage: you can revert to an earlier version of the document at any time, make comparisons and discover who's to blame for spolling or error grammatical.
By default, there is no limit to the number of revisions stored per page or post. (Note only a single auto-save is made per post per editor -- the most recent auto-save overwrites the previous one.) Every revision requires a separate row in WordPress's posts
table and perhaps multiple entries in the postmeta
and term_relationships
tables. That's rarely a problem for smaller sites but it could affect the performance and efficiency of larger installations. Tables eventually become filled with redundant data which will never be used.
Limiting Revisions
The number of revisions can be set in WordPress's wp-config.php file.
Continue reading %How to Take Control of Page and Post Revisions in WordPress%
by Craig Buckler via SitePoint
No comments:
Post a Comment