WP Rollback

Description

Quickly and easily rollback any theme or plugin from WordPress.org to any previous (or newer) version without any of the manual fuss. Works just like the plugin updater, except you’re rolling back (or forward) to a specific version. No need for manually downloading and FTPing the files or learning Subversion. This plugin takes care of the trouble for you.

Rollback WordPress.org Plugins and Themes

While it’s considered best practice to always keep your WordPress plugins and themes updated, we understand there are times you may need to quickly revert to a previous version. This plugin makes that process as easy as a few mouse clicks. Simply select the version of the plugin or theme that you’d like to rollback to, confirm, and in a few moments you’ll be using the version requested. No more fumbling to find the version, downloading, unzipping, FTPing, learning Subversion or hair pulling.

Muy Importante (Very Important): Always Test and Backup

Important Disclaimer: This plugin is not intended to be used without first taking the proper precautions to ensure zero data loss or site downtime. Always be sure you have first tested the rollback on a staging or development site prior to using WP Rollback on a live site.

We provide no (zero) assurances, guarantees, or warranties that the plugin, theme, or WordPress version you are downgrading to will work as you expect. Use this plugin at your own risk.

Translation Ready

Do you speak another language? Want to contribute in a meaninful way to WP Rollback? There’s no better way than to help us translate the plugin. This plugin is translation ready. Simply use the wp-rollback.pot file and your favorite translation tool. Once finished, please reach out to us on the WordPress.org forums or better yet, submit a pull request on the Github Repo.

Support and Documentation

We answer all support requests on the WordPress.org support forum.

WP Rollback was created to be as intuitive to the natural WordPress experience as possible. There are is no dedicated setting page or option panels. We believe that once you activate WP Rollback, you’ll quickly discover exactly how it works without question.

BUT!!

We do have documentation on the plugin Github Wiki.

Screenshots

  • The Rollback link on the Plugins page.

  • The Rollback Versions page for a plugin.

  • The Update plugin screen.

  • The Rollback button on the Theme Modal popup.

  • The Rollback Versions page for a theme.

  • The Rollback modal confirmation popup.

  • The Update theme screen.

Installation

Minimum Requirements

  • WordPress 3.8 or greater
  • PHP version 5.3 or greater
  • MySQL version 5.0 or greater

Automatic installation

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser. To do an automatic install of WP Rollback, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.

In the search field type “WP Rollback” and click Search Plugins. Once you have found the plugin you can view details about it such as the the point release, rating and description. Most importantly of course, you can install it by simply clicking “Install Now”.

Manual installation

The manual installation method involves downloading our donation plugin and uploading it to your server via your favorite FTP application. The WordPress codex contains instructions on how to do this here.

Updating

Automatic updates should work like a charm; as always though, ensure you backup your site just in case.

FAQ

Installation Instructions

Minimum Requirements

  • WordPress 3.8 or greater
  • PHP version 5.3 or greater
  • MySQL version 5.0 or greater

Automatic installation

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser. To do an automatic install of WP Rollback, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.

In the search field type “WP Rollback” and click Search Plugins. Once you have found the plugin you can view details about it such as the the point release, rating and description. Most importantly of course, you can install it by simply clicking “Install Now”.

Manual installation

The manual installation method involves downloading our donation plugin and uploading it to your server via your favorite FTP application. The WordPress codex contains instructions on how to do this here.

Updating

Automatic updates should work like a charm; as always though, ensure you backup your site just in case.

Is this plugin safe to use?

Short answer = Yes. Longer answer = It depends on how you use it.

WP Rollback is completely safe because all it does is take publicly available versions of the plugins you already have on your site and install the version that you designate. There is no other kinds of trickery or fancy offsite calls or anything. BUT!!!

Safety largely depends on you. The WordPress website admin. We absolutely do NOT recommend rolling back any plugins or themes on a live site. Test the rollback locally first, have backups, use all the best practice tools available to you. This is intended to make rolling back easier, that’s all.

Why isn’t there a rollback button next to X plugin or theme?

WP Rollback only works with plugins or themes installed from the WordPress Repository. If you don’t see the rollback link, then most likely that plugin or theme is not found on WordPress.org. This plugin does not support plugins from Github, ThemeForest, or other sources other than the WordPress.org Repo.

I rolled my [insert plugin name] back to version X.X and now my site is broken. This is your fault.

Nope. We warned you in bold print several times in many places. And our plugin delivered exactly what it said it would do. May the gods of the Internet pity your broken site’s soul.

Where is the complete documentation located?

The documentation for this plugin is located on our Github Wiki. This is where we make regular updates.

Can this plugin be translated?

Yes! All strings are internationalized and ready to be translated. Simply use the languages/wp-rollback.pot file and your favorite translation tool. Once finished, please reach out to us on the WordPress.org forums or better yet, submit a pull request on the Github Repo.

Did this plugin with WordCamp Orange County’s Plugin-Palooza?

Heck yes it did! The WordImpress team took home the gold.

Reviews

A great helper in time of big trouble

Thanks chaps, this functionality should be core WordPress!

I was in big trouble on http://schwefel-bor.de
because plugin Contact Form 7 didn’t work at all anymore
after updating to plugin version 4.8.
Even the checking of required fields didn’t work.

First I believed, it’s due to upgrade to WP 4.8.
But it isn’t.
After rolling back with genius WP Rollback to plugin version 4.7
everything is working fine again.

This plugin must be installed on every WordPress website!

Thank you very much and may your days be prosperous and healthy!!!

Works as charm

Worked, little confusing was where to rollback plugins, but it made sense in the end – after installing plugin, refresh plugins page and new “rollback” action link will be added…

You can even choose to which version you want to roll-back! 🙂

Can not thank you enough

I cannot thank you enough. I messed up my client’s website by updating woocommerce and I was scared that I will loose him as he is a good client for me. Thanks to you that it got fixed now.

The best diagnostic tool ever

How I got this far without knowing about this tool is beyond me. After reporting a problem with my website to the authors of my theme and plugin, someone alerted me to the existence of this plugin, and within minutes of installing, I had found the point at which the incompatibility arose.

After downgrading one of my plugins, my site is running perfectly again.

This plugin deserves a perfect 5-star rating. I would like to make one suggestion for improvement… it would be helpful to see the release date displayed for each plugin version, so a person would be able to estimate by date which version of a plugin would be most appropriate to roll back to.

Thank you!!

Upgraded to the latest Woocommerce and it broke my attribute variations. Thought I would have to do a full restore of my test site. But, found this and rolled back to the previous version of Woo, and back to normal.

Thanks!

Read all 66 reviews

Contributors & Developers

“WP Rollback” is open source software. The following people have contributed to this plugin.

Contributors

“WP Rollback” has been translated into these 2 locales: French, Chinese (Taiwan). Thank you to the translators for their contributions.

Translate “WP Rollback” into your language.

Interested in development?

Browse the code or subscribe to the development log by RSS.

Changelog

1.5

  • New: You can now view plugin changelogs within the rollback screen. #7
  • New: Added support for WordPress Multisite rollbacks for themes and plugins. #22
  • New: Rollback button is fixed to the bottom of the page now to prevent long scrolls for rollbacks with many versions. #23
  • New: Updated the WP.org plugin header graphic. #37

1.4

  • New: Updated plugin’s text domain to the plugin’s slug of ‘wp-rollback’ to support WordPress’ GlotPress translations. #28
  • New: Gulp automated POT file generation and text domain checker. #28
  • Fix: Check the WP install’s themes transient is present, if not fetch it to see if a theme can be rolled back. Allows rollbacks for new WP installs or in a case where the transient is not set properly.#27

1.3

  • Tested compatibility with WordPress 4.4 and verified as working; bumped up compatibility
  • Fix: Trying to get property of non-object warning. #20
  • Improvement: Better version sorting now using usort & version_compare. #16

1.2.4

  • New: Portuguese translations added.
  • Fix: Limit HTTP requests to Plugin page only. Report 1 Report 2

1.2.3

  • Fixed: XSS hardening. Thanks @secupress
  • Fixed: CSRF patch regarding missing nonces. Thanks @secupress
  • Improvement: escape all of the things.

1.2.2

  • New: Russian translations from @Flector – thanks!
  • Fix: Replaced use of wp_json_encode to support older WordPress versions. Report

1.2.1

  • Fix: Rollback link appears on non wp.org plugins – thanks @scottopolis. #14
  • Removed unnecessary WP_ROLLBACK_VERSION constant.

1.2

  • New: Swedish translation files – Thanks @WPDailyThemes.

1.1

  • Fixed “Cancel” button which was falsely submitting the form.

1.0

  • Initial plugin release. Yippee!
  • Adds “Rollback” link to all plugins from the WordPress repo on the plugin screen.
  • Adds “Rollback” link to all themes from the WordPress repo inside the modal details screen.
  • The “Rollback” page allows you to choose which version you want to rollback to.