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.

 

Matt is Head of Support and Community Outreach at WordImpress.com. He's the author of many free WordPress plugins, a popular blogger at his website, an admin of the Advanced WordPress Facebook group, co-organizer of the San Diego WordPress Meetup, and a frequent WordCamp speaker and attender.

Follow Matt:

7 Responses to “How to Roll Back Any WordPress Plugin or Theme with Ease”

  1. Dylan Ryan

    Very excited to see where this goes. It’s one of those things that once you see it, you wonder why it didn’t exist until now?!

    Reply
  2. Ross Wintle

    Did I miss it or does this article not contain a link to the plugin itself? 😉

    Reply
  3. Darlene Calderone

    Thank you so much for this. I had a 500 error and really needed to rollback woocommerce. Worked like a charm.

    Reply
  4. David Boudjenah

    This plugin is good but for me there is a big problem. When I update a plugin and the plugin is crashing my WordPress, I have to desactivate the plugin from the ftp. And now that the plugin is desactivated the plugin WP Rollback don’t have the Rollback option on desactivated plugins…

    Reply
    • Wes Cleveland

      I assume the way you deactivated the failing plugin via FTP was by renaming or deleting it’s directory. You might try modifying the main plugin php file to contain just the plugin header information and delete all executable code in it. This way the plugin will be loaded but won’t do anything. Then use WP_Rollback to reinstall the desired version of the plugin.

      Reply

Leave a Reply