Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared hosting Managed WordPress Cloud hosting VPS hosting By reader location Hosting finder
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Blog Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

Setup & site building · Guide

How to See Revisions in WordPress (Step by Step)

How to See Revisions in WordPress (Step by Step)

Short answer

Open the post or page in the block editor, look in the settings sidebar for Revisions with a number next to it, and click it. The revisions screen lets you slide between saved versions, compare any two, and restore an older one. The link appears only once a post has at least two saved versions.

Key takeaways

  • The Revisions link sits in the editor's settings sidebar with a count.
  • It only appears after a post has been saved at least twice.
  • Tick Compare any two revisions to see total changes between two points.
  • Restoring creates a new revision, so newer versions are kept.
  • WP_POST_REVISIONS in wp-config.php controls or disables revisions.

How do you see revisions in WordPress?

Open the post or page in the block editor, look in the settings sidebar for the Revisions link with a count, and click it to open the revisions screen, where you can compare and restore versions.

The Revisions link only appears once a post has at least two saved versions. A brand-new draft saved once will not show it yet.

On the revisions screen, a slider at the top moves through each saved version. Changes are highlighted so you can see exactly what was added or removed.

What are revisions in WordPress?

Revisions are saved copies of a post or page that WordPress creates each time you save a draft or update published content, so you can review changes and go back to earlier versions.

WordPress also creates autosaves while you type. An autosave is a temporary revision that protects your work if the browser crashes.

Autosaves work a little differently from normal revisions. WordPress keeps one autosave per user for each post, replacing it each time, rather than building up a long list.

If you return to a post and WordPress says a newer autosave exists, you can view it and decide whether to restore it. This is often how lost work comes back after a crash.

Each revision stores the title, content and excerpt, plus the author and the time it was saved. The Revisions documentation on WordPress.org explains the feature in full.

Open the post, make sure the settings sidebar is visible, select the Post or Page tab, and find Revisions with a number next to it in the summary area.

If the sidebar is hidden, click the settings icon at the top right of the editor. It looks like a square split into two panels.

The number shows how many revisions exist. Click the link and WordPress opens the revisions screen in the same tab.

In some versions the link sits near the top of the sidebar, and in others it appears lower in the summary panel. The label is always Revisions.

Step 2: How do you read the revisions screen?

The revisions screen shows the older version on the left and the newer one on the right, with removed text in red and added text in green.

Above the comparison, you see who made each revision and when. This helps on sites with several authors.

Use the slider or the Previous and Next buttons to move through versions one at a time. Each step compares a revision with the one before it.

Long posts can be hard to scan. Scroll down the comparison and look for coloured highlights, since unchanged paragraphs appear plain.

The screen compares the raw block markup, so you may see HTML comments such as wp:paragraph around your text. Those are block markers and are safe to ignore when reading changes.

ColourMeaning
Red highlightText removed in the newer version
Green highlightText added in the newer version
No highlightUnchanged text

Step 3: How do you compare any two revisions?

Tick the box labelled Compare any two revisions at the top of the screen, then drag the two slider handles to choose the older and newer versions you want to compare.

This is useful when many small edits happened in between. Instead of stepping through each one, you see the total change between two points.

It also helps when a teammate edited a post and you want a quick review. Compare the last version you wrote with the latest one to see every change in a single view.

For example, compare the version from before a redesign with the current version to see everything that changed.

Step 4: How do you restore an older revision?

Select the version you want with the slider, then click Restore This Revision, and WordPress replaces the current content with that version and saves it as a new revision.

Nothing is lost. The version you replaced stays in the history, so you can restore it again later.

Restoring saves straight away, so on a published post the older version goes live at once. Open the editor afterwards to confirm the layout and blocks look right.

After restoring, check the post in the editor. Revisions do not include featured images, categories, tags or most custom fields, so those keep their current values.

Our guide on how to undo in WordPress covers other ways to reverse changes, including the editor's undo button and the trash.

How do you see revisions in the classic editor?

In the classic editor, look in the Publish box for the Revisions line and click Browse, or turn on the Revisions box under Screen Options at the top of the edit screen.

The Revisions box lists each saved version with its author and time. Clicking one opens the same comparison screen used by the block editor.

If you are still deciding between editors, our guide on going back to the classic editor explains the options.

The link is hidden when the post has only one saved version, when revisions are disabled in wp-config.php, or when the post type does not support revisions.

Check these causes in turn:

  • Only one save: make a small change, save again, and the link should appear.
  • Revisions disabled: a line such as define( 'WP_POST_REVISIONS', false ); in wp-config.php turns them off.
  • Custom post types: a post type only has revisions if its code declares support for them.
  • Host settings: some managed hosts limit or disable revisions to keep databases small.

The wp-config.php documentation explains the WP_POST_REVISIONS constant and how to set a limit instead of turning revisions off.

WooCommerce products are a common example of a post type without revisions by default. Product changes are not tracked in the same way as posts.

How do you see revisions for templates and styles?

In the Site Editor, open a template or template part and use its revisions option in the sidebar, and open Styles to browse revisions of your global style changes.

Block themes store your customisations in the database, which lets WordPress keep revisions for them. Style revisions arrived in WordPress 6.3 and template revisions became easier to reach in later releases.

This is handy if a site-wide colour or font change goes wrong. You can step back to the previous style set rather than rebuilding it.

The Make WordPress Core blog announces changes like this with each release, if you want to follow what is new.

How do you see revisions with WP-CLI?

List a post's revisions with WP-CLI by querying the revision post type and filtering by the parent post's ID, which shows each revision's ID, date and author.

wp post list --post_type=revision --post_parent=123 --fields=ID,post_date,post_author

Replace 123 with the ID of the post. You can then view a revision's content with wp post get and its ID.

The WP-CLI website has installation steps if your host does not include it. This method is useful for auditing many posts or scripting checks.

How many revisions should you keep?

Keep enough to recover from mistakes, often somewhere between five and twenty per post, because unlimited revisions on a busy site can make the database much larger over time.

Set a limit in wp-config.php:

define( 'WP_POST_REVISIONS', 10 );

This affects new revisions only. Existing extra revisions stay until you clean them up with a database optimisation plugin.

Our guide on optimising the WordPress database covers removing old revisions safely. Always take a backup first.

Can revisions show who changed what?

Yes, each revision lists the user who saved it and the time, which helps on multi-author sites, though it does not record changes outside post content.

Settings changes, plugin activations and user role edits are not tracked as revisions. For those, you need an activity log plugin.

Our guide on auditing user activity in WordPress explains how activity logs fill that gap.

Developers can also fetch revisions in code with wp_get_post_revisions, which returns the saved versions for a given post.

Frequently asked questions

Why is there no Revisions option in my WordPress editor?

The post may have only one saved version, revisions may be disabled in wp-config.php, or the post type may not support them. Save a small change and check again. If it still does not appear, look for a WP_POST_REVISIONS line set to false.

Do WordPress revisions save images and categories?

Revisions store the title, content and excerpt. Images placed inside the content are included because they are part of the content. Featured images, categories, tags and most custom fields are not stored, so restoring a revision leaves those unchanged.

How long does WordPress keep revisions?

By default, WordPress keeps every revision indefinitely. You can set a maximum number per post with the WP_POST_REVISIONS constant. Older revisions beyond that limit are removed as new ones are saved, and cleanup plugins can delete existing extras.

Can I see revisions on WordPress pages as well as posts?

Yes. Pages support revisions in the same way as posts. Open the page in the editor and find the Revisions link in the settings sidebar. Custom post types only have revisions if their code declares support for them.

Does restoring a revision delete my current version?

No. Restoring copies the older content into the post and saves it as a new revision. The version you replaced stays in the list, so you can restore it again if you change your mind.

Sources

  1. Revisions WordPress.org Documentation
  2. Editing wp-config.php WordPress Developer Resources
  3. wp_get_post_revisions() WordPress Developer Resources
  4. Make WordPress Core WordPress.org
  5. WP-CLI WP-CLI

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

Written and checked byWPLegible Editorial Team Independent WordPress reviews and guides

Researched from the primary sources listed above and checked against our editorial rules before publishing.