How to Rollback WordPress for plugins and themes

The ideal title of this guide would be How to Rollback WordPress the Yoast SEO plugin so that it does not conflict with the Gantry framework, but I suppose that not everyone is affected by this problem, although I will dedicate a section in this article.

Keeping WordPress, Themes and Plugins always updated to the stable version available, is the maximum recommendation that is always made, but there are occasions when certain updates break the harmony on our website. And that is not cool!

I never tire of saying that backups are your best ally, also when your site “breaks” after updating a plugin, the kernel or your active theme and making backups it should be like going to the bathroom, “a need”.

 

Why rollback plugins or themes in WordPress?


There are many reasons that I can put forward to justify a “go back” to a previous version of a plugin or a theme, but surely if you have been using this for a while CMS Some have already crossed your mind.

You are starting in the WordPress world, creating your first online project and there are many novat @ stumbles and mistakes that you can make in the process. The rollback can help you back down after an inconvenient plugin update.

It can also be the case that your website was in the hands of an external administrator or webmaster and now you have taken control of the page and you find many things out of date and you are scared to update everything to the stable version. A hand rollback in these situations is a good ally.

You have spent some time customizing a theme and by mistake or ignorance you forgot to create a child theme and now, after updating to a new available version of the theme you find that you have lost all the customizations.

A rollback will not save you from the problem, especially if you did not make a backup, but you can recover an earlier version of the theme, although it is better to use a backup.

Backing up with the WP Rollback plugin


It is the proposal that I make you, to use a plugin that is so extremely simple that it does not require previous configurations for its use.

You install it and that’s it, to use it from the dashboard, Plugins, where in those plugins that support “rollback” a link will appear so that you can return to an earlier version of those available.

WP Rollback plugin

(Click on the image to go to the plugin link)

This plugin works the same as the plugin updater, except that you are reverting the affected plugin to a specific version of the available ones. No need to download an older version of the plugin manually and upload it via FTP.

Pros and cons of RollBack plugin


WP Rollback It is a pretty safe plugin that uses the versions available in the WordPress.org Directory of the plugins you already have installed on your site and installs the version you choose from the available ones.

Easy to use. Click on the link RollBack for each installed plugin that supports it, select the previous version desired and click to bring the plugin to that version. It does not require any technical knowledge. Nor will it make your website explode by using it!

This plugin only works with themes and plugins that are available in the official WordPress Directory and not with commercial, external themes or plugins.

This plugin does not support plugins from Github, ThemeForest, Codecanyon, or other sources other than WordPress.org.

The plugin does not rollback the WordPress core, I will tell you about it another day in another article.

A success story


Recently at Websites Are Us we detected a conflict caused by the plugin Yoast SEO version 5.0.0 and later that affects the Gantry 4 framework which is served as a plugin.

This conflict or bug causes Yoast SEO to be updated from version 4.9 (or earlier) to stable 5.x (any of series 5) the Gantry-based theme customizer or configurator cannot be edited.

This affects the theme settings, logo change, settings for different layouts, styles, and overrides for specific pages, if any.

After reviewing the causes, we detected that a javascript library incorporated in Yoast SEO to make the plugin compatible with certain old browsers that do not correctly interpret old versions of javascript, was the cause and that by renaming this file this issue was resolved, also because the library did not have too much felt having stable and current versions of different web browsers.

Of course, this produced queries in Support that had to be addressed, how could it be otherwise, and it is true that the solution we provided some liked, others served them and a few others did not like them, but at least they could continue working with both plugins.

What if they could rollback the Yoast SEO update to get back to 4.9?

Although it is not convenient to use plugins in an outdated version, if it is true that under certain circumstances, and provided that your Hosting does its homework and applies important security measures, such as the case of Websites Are Us, a “Reverse version” To save important functionalities, or the loss of any of them, since it is also important to keep the website operational.

Rollback explained in video


Well, based on this scenario that I paint for you, I have created the following video for you, especially if you work with the Gantry framework and Yoast SEO and these problems arise, so you can see the conflict and the solution by doing a rollback to the Yoast SEO plugin so that your website recovers lost functionality.

 

You see that it is much simpler than what it painted, right ?, and the solution helps to continue enjoying the essential functionalities of both plugins, without losing the operability of the web on the dashboard.

It goes without saying that always in these cases the first thing to do is a backup to have guarantees of going back with the entire web in case of problems.

#008bf7;”>Recommended reading:
WordPress backups in 2 minutes with All In One WP Migration

Conclusions


Being able to reverse a situation caused by an update helps you not to crash at any stage of your web project. However, the recommendation is to always have a good backup policy, regardless of what your hosting provider does.

When there are no copies or the problem generated by an update is greater than the one that would cause working with an older version (unless this is vulnerable), opting to back down is a good and quick solution to keep the web working and operability on the dashboard.

This plugin also allows you to “go back” on an update to a theme that WordPress.org offers in the Official Theme Directory (it is not for third-party commercial themes), so if you use themes like Twenty Seventeen and an update version of the theme or the core has affected the theme, you can go back to a previous version quickly.

However, in the case of themes, remember that it is important to work with child themes where you can apply changes to CSS style overwriting, customizations to the theme’s code or add functions, so when you update the theme, don’t you will lose!

It is not the first time nor will it be the last that an update of a theme or a plugin leaves you without any functionality on your website. Knowing how to reverse that situation will allow you to progress smoothly and effectively in your WordPress projects.

Member of the Websites Are Us technical team.
Coordinator of content on the Blog and YouTube.
Technical support in CyberProtector. Teacher at Websites Are Us Learning.