How to Roll Back Any WordPress Plugin or Theme with Ease

WP Rollback - Easily Rollback Any WordPress Plugin or Theme

WP Rollback - Easily Rollback Any WordPress Plugin or Theme
If you work with WordPress, you’ve come across those times when a new update does something unexpected and unwanted to your site. Or, you’ve inherited a site that has 10 VERY outdated plugins that doing a simple “Update All” might cause utter chaos. In those cases, it’s very tedious to go find the older or newer version of the plugin on the WordPress repository, upload it, and check all the things again. I know I can say that we at WordImpress wanted a better way to see this happen.

Enter WP Rollback

So rather than gripe about this lack of basic functionality, we built it. We call it WP Rollback and it’s been making some waves in the wider WordPress community. We rolled it out about 3 weeks ago and here’s some of responses we’ve got already:

If we ever wondered whether this was going to be a valuable plugin or not, I think we’ve been more than validated now.

Get WP Rollback Here

How to Roll Back Any WordPress Plugin or Theme

WP Rollback was designed to use WordPress’ native updater class to give end users the ability to activate any publicly available version from the WordPress Plugin or Theme Directory. That means that out of the box, it does not work with premium themes or plugins. There are plenty of actions and filters available so premium authors could make that possible. We plan to put out a tutorial on doing that in the future. For now, let’s get into the details:

TL;DR

If you just want the 10 second pitch, here it is:

How to Rollback any WordPress Plugin or Theme

After activating WP Rollback, you’ll see a “Rollback” link in the plugins page next to every plugin. Click that, choose your version, hit “Rollback” and the rest is updater/activator class magic.

If you like more details, I’ve put together this quick video cast to show you the magic.

Why Not Rollback Core?

Well… we easily could support rolling back core as well. And potentially we might. We’d love to hear your comments about that below.

What’s in Store for WP Rollback?

This isn’t the kind of plugin that would have tons and tons of features. Instead, it’s a simple and intuitive plugin that integrates into your natural WordPress workflow with no real settings page or anything like that. There are a few things that you might see coming down the pipe:

  • Support for rolling back Core
  • Tutorial with snippets one adding WP Rollback capabilities with your premium theme/plugin
  • More localized languages (we currently have Swedish and Russian)
  • Snippets to add your own forked version of a plugin. For example, maybe you forked a repo plugin and want to be able to rollback to the repo version without loosing your own changes. That would mean your version would have to be saved locally somewhere, but it’s completely within the realm of possibility and could prove very useful.