Sunday 21 July 2013

Post revisions, autosave, and trash handling

WordPress autosaves revisions of your posts and pages, and you can send

posts and pages to the trash can, instead of completely deleting them. You

visit the trash can and permanently delete your posts or pages. This extra

step is a safeguard in case of mistakes.

In terms of the post revisions, by default, WordPress saves unlimited revi-

sions and sometimes, depending on how often you edit and reedit posts and
pages, the saved revision list can get pretty long. You can limit the number
of revisions that WordPress will save by adding the following line to the
wp-config.php file:

define (‘WP_POST_REVISIONS’, 3); // limit number of revisions to 3

 

0 comments:

Post a Comment