Your prompt
Before updating [plugin name], take a fresh backup, update it on staging first, test the homepage, a post, the contact form and checkout, then update the live site and clear all caches. Report anything that broke.
What this prompt does
This prompt describes a careful update routine for one plugin, the name of which you fill in. Your AI assistant takes a fresh backup, updates the plugin on a staging copy first, tests the homepage, a post, the contact form and checkout, then updates the live site and clears all caches. It reports anything that broke.
The point is to find problems on a copy rather than on the site your visitors use. Testing the key paths before and after gives you evidence rather than hope.
It needs a staging site to be meaningful. If you do not have one, say so, and ask the assistant to propose a safer alternative.
Choose a plugin that matters to a visitor’s journey for this routine, such as a forms or checkout plugin, since those are the updates that cost you the most when they fail.
Before you run it
- Make sure a staging environment exists and is recent. Many hosts offer one in their dashboard.
- Know what the plugin does and which pages depend on it.
- Read the plugin’s changelog for notes about breaking changes.
- Pick a quiet time for the live update, especially on a shop.
- Keep the backup until you are sure everything works.
Be aware that staging copies of a shop can send test emails or process test orders, so check how your staging site handles payments and mail.
What to check afterwards
- The report lists each test and the result on both staging and live.
- The plugin shows the new version on the live site.
- You can open the homepage, a post, the form and the checkout, and all behave as before.
- Caches were cleared, including any caching plugin and host cache.
- Browser console and the debug log show no new errors, if you use them.
Ways to adapt it
- Pick other tests: Also test my login page and the booking calendar.
- Stop at staging: Update staging only and report; I will update live myself.
- Update several: Do this for each plugin on my list, one at a time, testing after each.
If it goes wrong
- Something broke on staging. Do not update live; roll back, report to the plugin developer and wait for a fix.
- Something broke on live. Restore the backup or roll back to the previous plugin version.
- Staging and live differ. Refresh staging from live and repeat.
The staging site guide explains the setup, and troubleshooting plugin conflicts helps when a test fails.