Guide

Undo AI changes in WordPress, in one sentence

Claude changed the wrong post, a page-builder text or a setting. Ask Claude, and AlphaBridge brings the old version back from an undo point, in the free plugin too. With Pro, files and PHP snippets come back as well.

Before you start

What you need.

  • AlphaBridge, free or Pro Undo points come with every edition. Pro adds undo for files, snippets, options and theme switches. You can try Pro for 7 days without a card.
  • Write access on Taking a change back is a change too. wp_undo writes, so write access must be on.
  • The same user Undo points belong to the user who made the change. Undoing needs the same permission as the change itself.
  • Within the undo window Undo points expire after 7 days. With Pro, an administrator sets 1 to 30 days.
Step by step

In 5 steps.

Find the undo point

Ask Claude which changes it can take back. wp_undo_list shows your undo points. Each has a token, the tool it came from, a short summary and an expiry. You see only your own.

Look at the preview

Ask for a preview first. With dry_run=true, wp_undo shows what it would restore and what it would refuse. Nothing changes in this step.

Take the change back

Then let Claude run it for real. AlphaBridge checks each item again against the current state of the site. A post this account may no longer edit is reported as blocked, not restored. A page-builder page comes back byte for byte, in every stored copy.

If the page changed since

After a page-builder change, and with Pro after an ability run, AlphaBridge refuses a page that someone changed since. Look at the newer edits first. With force=true, it puts every stored copy back byte for byte anyway.

Check the result and tidy up

Open the page or the site and check it. Once a change is confirmed good, wp_undo_discard drops its undo point.

Scope

What AlphaBridge can undo, and what it cannot.

AlphaBridge takes back only changes whose answer contains an undo token.

These changes come back:

  • Edits to posts and pages, from title and text to status, author and date, and status changes of up to 500 posts at once.
  • The site settings: title, tagline, admin email, timezone and posts per page.
  • Edits to page-builder elements, and the page-builder pages and option rows that a search and replace changed.
  • With Pro: theme files and plugin files, also deleted ones.
  • With Pro: PHP snippets in Code Snippets or WPCode, options set with wp_update_option and theme switches.
  • With Pro: posts that another plugin's ability changed, if the ability's input names the post.

AlphaBridge keeps the newest 50 undo points, together at most 100 MB. They expire after 7 days; with Pro you set 1 to 30 days.

No undo point is recorded for these changes:

  • Shop changes in WooCommerce, such as prices, stock or order status.
  • SEO titles, descriptions and focus keywords.
  • Custom fields, and changes to users, terms, menus and widgets.
  • Database writes.
  • Search and replace in posts without a page builder, in custom fields and in terms.
  • Directories, and deleting plugins or themes.

AlphaBridge records undo points as far as it can. Above 1 MB after compression, or when storage runs out, it may record none. Some tools then go ahead without one. Others refuse, or go ahead only when the call accepts that. If you switch off the undo tool, no undo points are recorded.

An order status change can send e-mails to your customers. Once sent, an e-mail stays sent, so check shop changes before you apply them. Undo points do not replace a backup either. They can fail, for example when the site changed in the meantime.

Beyond undo

Beyond undo: revisions, the trash and backups.

For changes without an undo point, WordPress can restore some things on its own.

  • Revisions. WordPress saves revisions of posts and pages. In the editor, open the revisions, compare them and restore an older one.
  • Revisions by chat. Claude lists a post's revisions with wp_list_revisions and brings an earlier one back with wp_restore_revision, in the free plugin too.
  • Trash. AlphaBridge's wp_delete_post moves a post to the trash unless force=true is set. Restore it from the trash in the list of posts or pages. WordPress empties the trash after 30 days by default.
  • Page builders. Some builders keep a page in their own data. Whether a WordPress revision restores that depends on the builder. Check the builder's own history.
  • Backups. For files, settings, users or the shop, restore from your backup or your host's backup. A full restore also resets good changes made since.
  • Audit log. The log shows which tools ran, when and with which result. It helps you find what to restore.

Before the next job, take a fresh backup. It is the way out for everything an undo point cannot take back.

Prompts

What to say to Claude.

Plain words are enough. Claude picks the right tool.

  • Which of today's changes can you take back?
  • Show me what taking back the last change would restore.
  • Take back the last change on the About page.
  • Set the site title back to what it was this morning.
  • The About page looks right now. Discard the saved old version.
FAQ

Questions and answers.

How long can I undo AI changes?

Undo points expire after 7 days. With Pro, an administrator sets 1 to 30 days. AlphaBridge keeps the newest 50, together at most 100 MB.

Can I undo a WooCommerce, SEO or user change?

No. The shop, SEO and user tools record no undo point, in any edition. Database writes have none either. Check such changes before you apply them, and keep a backup.

Why does AlphaBridge refuse to undo a page?

Someone changed the page after its undo point was saved. For page-builder changes, and with Pro for ability runs, AlphaBridge then refuses unless the call sets force=true. With force=true, it puts every stored copy back byte for byte.

Can I undo AI changes without Pro?

Yes. The free plugin keeps undo points for edits of posts, pages and page-builder elements, bulk status changes, site settings and the option rows a search and replace changed. Pro adds files, snippets, options set with wp_update_option and theme switches. For everything else, use WordPress revisions, the trash and your backup.

Does undo replace a backup?

No. Undo points can fail, for example when storage runs out. They also leave out the shop, SEO, users and database writes. Keep a current backup outside the site.

Pro on your WordPress site. Code, updates, database.

Pro brings 135 tools to your site, with code, plugin updates and undo for files too. The trial needs no card.