Everyone has that moment: an edit went sideways, a paragraph got mangled, a good version of a page is now buried under a worse one. WordPress has kept every revision the whole time, but scrolling the revision comparison screen and being sure which one to restore is the fiddly part.
This makes the undo a short conversation. The agent lists the history, shows you the version you are about to bring back with a diff against what is live, and restores it only once you confirm.
Something got mangled in my [pricing] page in an edit earlier and I want to put itback to the version from before.
Read only to start. List the revisions on [the pricing page] with their dates andwho saved them, and help me spot the last good one. Show me that revision's contentand a diff against what is live now so I am sure it is the right point.
Once I confirm which revision, restore the page to it. I know the restore itselfsaves the current state as a new revision first, so if I picked wrong we can justrestore forward again.Why this is safe to run
Listing the revisions and reading one are reads, so you review the exact content you are about to bring back, and its diff against the live page, before anything is restored. There is no guessing from a date alone.
The restore is the one write, and it is built to be reversible: before it rolls the post back, it saves the current live state as a fresh revision, so a wrong pick is undone by restoring forward to that new point. Nothing in the revision history is deleted. The restore ability stays off until you enable it, the call is checked against the capability of the user you bound the agent to, and it lands in the Activity Log with the post it changed.
Already connected? You do not have to paste this. Ask your agent for the “undo a bad edit by restoring a revision” recipe, or just tell it which page went wrong, and it runs the same read-first flow on your own site.