New 24/7 monitoring and daily cloud backups now included in every Shield Pro plan.

Plugins

How to roll back a WordPress plugin after an update

A plugin update can remove features you rely on or trigger a fatal error. Rolling back means restoring the previous plugin files and sometimes the database rows that changed during upgrade.

Time: 20-35 minutes Level: Intermediate

What this problem looks like

WordPress does not include one-click plugin downgrade in core. Rollback means replacing wp-content/plugins/plugin-slug with the last known good copy.

Some plugins migrate database options on upgrade. If settings look wrong after rollback, restore the database table rows from backup or re-run the plugin setup wizard.

Rolling back without a backup can leave mismatched database schema. Always snapshot the database before replacing plugin files.

Fastest rollback from backup

  1. Open your backup tool or hosting snapshot.
  2. Restore only wp-content/plugins/problem-plugin/ from before the update.
  3. Clear object cache and opcode cache if your host provides buttons for them.
  4. Reload wp-admin and confirm the version number in Plugins list.

Install an older version manually

Download the previous release from the vendor account or wordpress.org release archive.

Delete or rename the current plugin folder, then upload the older ZIP via Plugins → Add New → Upload Plugin or SFTP.

Delete means remove the plugin folder, not the database tables. WooCommerce and LMS plugins store data separately from files.

Rollback with WP-CLI

The --force flag overwrites the existing folder. Confirm the version exists on wordpress.org before running the command.

bash
cd /path/to/wordpress
wp plugin deactivate my-plugin
wp plugin install my-plugin --version=2.4.1 --force
wp plugin activate my-plugin

When wp-admin is offline

Rename wp-content/plugins/my-plugin to my-plugin.off via SFTP to stop the fatal error.

Upload the older plugin folder via SFTP into wp-content/plugins/.

Rename back to my-plugin only after files are in place.

Prevent repeat bad updates

Document working versions per site. Test updates on staging and keep auto-updates off for revenue-critical plugins.

Subscribe to vendor release notes so you know when a broken build is patched.

When to stop DIY and hire help

Database migrations make some rollbacks risky without a developer. BugShield can roll back plugins and repair schema issues at a fixed price with Vault access to your hosting.

FAQs

Can I downgrade from the Plugins screen?

Core does not offer downgrade buttons. Use backup restore, manual ZIP upload, or WP-CLI with a specific version.

Will rollback delete plugin settings?

Usually settings remain in the database. If the new version altered tables, you may need a database restore to match the older files.

Where do I find old wordpress.org versions?

Open the plugin page on wordpress.org, click Advanced View, and download previous tags from the Development section.

Is rollback the same as deactivate?

No. Deactivate stops the plugin but leaves new files in place. Rollback replaces those files with an older build.

Rather someone else fixed it?

Request a fix at a confirmed price. Named UK developer, secure Vault, direct chat.

Request a Fix