Have you ever updated a WordPress plugin only to have the new version break your site?
This can be extremely frustrating and is one of the main reasons why many beginners don’t always update plugins.
In this article, we will show you how to rollback WordPress plugins like a version control system for beginners.
Unfortunately, on rare occasions, updates can sometimes break your website. This can happen if there’s a bug in the code, or if the update introduces some kind of conflict with your theme or another plugin.
Let’s take a look at how you can easily rollback WordPress plugins using a version control designed for absolute beginners. But first, we’ll show you how to fix your website if it’s broken and you’re unable to log in.
Before you can rollback a plugin or theme you have to log in to your website.
In those cases, you will have to deactivate your plugin or theme manually.
Deactivating WordPress Plugins Manually
If updating a plugin has caused a serious problem on your WordPress website, then we recommend that you deactivate all plugins and then reactivate them one by one.
You should now be able to log in to your WordPress admin area. You can move on to the second section below and learn how to roll back the problem plugin to an earlier version. After that, you can reactivate your plugins one by one.
Deactivating WordPress Themes Manually
If an updated theme is the cause of your website problems, then we recommend that you download a copy of that theme to your computer and then delete the theme.
Are You Still Seeing an Error Message?
Upon activation, go to the Plugins » Installed Plugins page and you will notice a new ‘Rollback’ link below each plugin that you installed from the WordPress.org plugin directory.
Note: You won’t be able to rollback third party plugins that aren’t in the official WordPress plugin directory.
When you need to revert to a previous version of the plugin, simply visit the plugins page and click the ‘Rollback’ link below that plugin.
The WP Rollback plugin will take you to a page where you can see which version you have installed and the versions you can rollback to.
Simply select an older version and then click the ‘Rollback’ button.
The plugin will now display a warning message. This message simply informs you that you should create a complete WordPress backup before proceeding.
If you already have a recent backup of your WordPress site, then you can continue by clicking on the ‘Rollback’ button.
WP Rollback will download and replace your current version with the version you selected. Don’t forget to click the ‘Activate Plugin’ link when you’re ready.
Simply go to Appearance » Themes page and click on the theme that you want to rollback.
You will also notice a ‘Rollback’ button in the bottom right corner.
If you don’t see a rollback option, then first make sure that the theme is from the WordPress.org theme directory. The plugin does not work on themes downloaded from any other sources.
Now come back to the themes page and click on the theme you wanted to rollback. You should now be able to click the ‘Rollback’ button.
This will take you to a page where you can see the theme version which is currently installed, and a list of versions you can rollback to.
Simply select a previous version and then click the ‘Rollback’ button.
A warning message will be displayed reminding you to complete a backup before continuing.
If you recently created a backup of your site, then you can safely click the ‘Rollback’ button.
The version of the theme you selected will be downloaded and replace the current version. If you want to use the theme on your website, then you should click the ‘Activate’ link.