All about WordPress Post Revisions

WordPress comes with a built-in feature that allows you to undo changes and go back to a previous version of a post or pages?

This feature is called Post Revisions and in this post, we going to learn All about WordPress Post Revisions

  • What is WordPress revision
  • Importance of WordPress post revision
  • How to use WordPress revision
  • How it affects Site performance
  • How to Optimize WordPress revision for Faster Performance
  • How to limit WordPress revision
  • How to Delete Old Post Revisions in WordPress
  • Deleting WordPress post revisions via phpMyAdmin
  • How to delete WordPress revisions With WP-CLI
  • How to Completely Disable WordPress Post Revisions

What is Post Revisions?

Post revisions is a feature of WordPress that allows you to undo your changes and go back to a previous copy of your posts or pages.

WordPress creates post revisions each time a user clicks on the save, update, or publish button. these revisions are permanently stored in the WordPress database like a post.

WordPress also has an autosave feature. In which WordPress automatically creates an auto-save revision every 60 seconds. auto-save are temporary revision and automatically replaces the older version with the new auto-save on creation. It saves your post content when the unlikely happens, such as power outages or browser crashes.

if your browser crashed or your computer hanged while writing, then you can restore your latest draft from the autosave or your post from the revisions list.

Importance of WordPress post revision

WordPress revision is a great feature added by WordPress. It helps the blogger or writer to write a perfect blog without being worry about data loss.

Revision keeps track of each line and changes done in it over a period of time. For multisite this feature helps site users with Editor role to review changes done by different authors.

It allows you to see what changes were made in each revision. The display indicates what has changed in each revision – what was added/removed, remained unchanged. Lines added or removed are highlighted, and individual character changes get additional highlighting.

How to use WordPress revision

WordPress displays the number of revisions on the right-hand side of your post editor screen, under the ‘Document’ panel. Clicking on the ‘Revisions’ will take you to post revisions screen.

The Screen will show you the latest revisions of the post with pagination and scroller on top. this pagination and scroller will move you to earlier revisions of the post.

On the top, you will see a button “Restore This Revision”. clicking on it will make the current state of revision as your post content.

Keep in mind that restoring to an earlier revision will not delete the latest version of your post. Instead, WordPress will store it as another revision in the database.

You can also compare two revisions with the help of a checkbox ‘Compare any two revisions’ on top.

Making it checked will split the scrollbar button into two, and you can take each button to a different revision and compare the content of both revisions.

How it affects Site performance

how revision can slow down your site. explanation with some screenshot/zip/video of revision post in PHPMyAdmin

How to Optimize WordPress revision for Faster Performance

what we can do to optimize WordPress revision for faster site performance?

How to limit WordPress revision

how we can limit WordPress revision with code sample with a video link?

How to Delete Old Post Revisions in WordPress

different ways and explain the delete revision using the plugin.

Deleting WordPress post revisions via phpMyAdmin

how we can do this with the help of PHPMyAdmin? query and screenshot + youtube video link

How to delete WordPress revisions With WP-CLI

explanation with wp-CLI command

How to Completely Disable WordPress Post Revisions

how we can completely disable WordPress post revision. with the help of code.

LIKE AND SUBSCRIBE TO OUR YOUTUBE CHANNEL BuddyDevelopers

Leave a Reply