Have you ever upgraded a WordPress plugin only to have it cause an error? If you run into this issue, and you are a regular user rather than a developer, the only solution might be to downgrade the WordPress plugin while waiting for the latest update that fixes the error.
But how do you actually downgrade a WordPress version? Will the data we created in WordPress beforehand disappear after performing a downgrade?
Actually, to downgrade a WordPress plugin, we can directly upload the plugin of the previous version through the Add New Plugin page. But where can we get the previous version of this plugin?
Oh, and for data, it usually will not be deleted if we downgrade a WordPress plugin, but it is highly recommended to perform a backup either manually or by using a plugin.
How to Downgrade a WordPress Plugin
Because we need to get the previous version of the plugin that will be downloaded, we need to get the file for the previous version first from the official WordPress.
1. Get the Previous Version of the Plugin
To get an old version of a plugin, we can search for the plugin first through the page https://wordpress.org/plugins/, for example, here we will downgrade the Yoast SEO plugin from version 20.11 to version 19.9, so just search for the Yoast SEO plugin from the WordPress website.
After being on the page of the plugin that will be downgraded, look for the link Advanced View which is located under the plugin detail panel so that we can get the download link for the previous plugin version.
From the Advanced View page, we can get the option to download the previous version of the plugin or theme through the dropdown that is in the ADVANCED OPTIONS → PREVIOUS VERSIONS.
section. Choose the version that we will download, because here we will downgrade to the version 19.9, so here we select that version, then click the Download.
button. Finished downloading the previous version of the plugin? Then next, we can directly upload the plugin to WordPress.
2. Upload the Plugin to WordPress
Because the way to upload a plugin has several methods, here we will use the easy way, which is to upload it directly through the WordPress dashboard page.
To be able to upload through the dashboard, make sure you are logged into WordPress as an admin, then open the menu Plugins → Add New.
On the add new plugin page, click the Upload Plugin button and upload the plugin that we previously obtained from WordPress.org to continue the plugin version downgrade.
Because the plugin is already installed on our website, WordPress will reconfirm whether we will continue with the plugin we just uploaded or use the plugin that is already installed.
In accordance with the title of this article where we will perform a downgrade, we can select the Replace current with uploaded button to perform the downgrade.
After successfully performing the downgrade, we will get the message Plugin downgraded successfully and when we check the plugin in the list of installed plugins, the version will drop according to the version we uploaded.
Conclusion
Although we can upgrade plugins or themes, it is highly recommended to keep using the latest version of a plugin or theme if that plugin or theme does not cause errors on the website.
Because by using the latest plugins and themes, our website security becomes higher and there will be fewer errors later on.
COMMENTS
Loading...