If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

WordPress. How to revert the last changes made in posts/pages (Revisions management)

In this tutorial you will learn the way to revert the last changes made in WordPress posts.

WordPress. How to revert the last changes made in posts/pages (Revisions management)

WordPress has a built-in capability that allows you to undo changes and go back to an earlier version of a post. This feature is called Revisions or Post Revisions.

When writing posts, most of us make mistakes. Sometimes you even wish that you hadn’t deleted what you wrote earlier. Revisions allow you to go back in time and undo any changes.

Enable Revisions

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):

	define('WP_POST_REVISIONS', true );

wordpress_revisions_management1

Don’t forget to save the changes in the file.

Manage Revisions

To revert the last changes made in a post, you should perform the following step:

  1. Open the required post in the WordPress admin panel.

  2. In the top right corner in the post editor click Screen Options tab and check Revisions option (see the screenshot below):

    wordpress_revisions_management2

    You will be able to see the list of all post updates in the Revisions section that will appear in the post editor:

    wordpress_revisions_management3

  3. Click any revision from the list and you will be redirected to the revisions editor:

    wordpress_revisions_management4

    • The post revision screen will show you the latest revision of the post with scrollbar on the top. Sliding the button on the scroll bar will take you to different revisions of your post. Changes made in each revision will be highlighted in green and pink colors.

    • On the top you can see the user who made these changes, time, and other information. WordPress will also let you know if a revision is an autosave or a draft.

    • You can also use Next and Previous buttons to move around revisions or check Compare any two revisions option.

    • To restore a revision, simply click Restore This Revision or Restore This Autosave button. WordPress will restore the selected revision as your current post revision and you can then save it as a draft or publish.

This is the end of the tutorial. Now you know how to manage revisions and revert the last changes made in WordPress posts.

Feel free to check the detailed video tutorial below:

WordPress. How to revert the last changes made in posts/pages (Revisions management)