I have used WordPress going on 10 years now. It’s awesome, and I couldn’t imagine myself working with anything else. However, just like with every platform, there are ways to go about forming what I call “good and safe” habits. Today I want to discuss a little bit about updating WordPress plugins and why I typically recommend users to wait before updating to the shiny new version.
Trust me, this will cause you less stress in the long run. 😉
Wait to Update WordPress Plugins and Themes
We all love new and shiny things… and updates to our favorite plugins and themes are always exciting as sometimes they mean new features and capabilities. It’s very tempting when you log in to your WordPress dashboard and see pending updates just to click “update all” and move on. However, this is what I urge you not to do! ✋
Why? Because developers are humans, just like the rest of us. They sometimes make mistakes. Trust me, my brother and I develop our premium WordPress plugins, and there has been a time or two where we have pushed out bad code by accident, and then immediately had to push another update to fix it. I don’t care how big of a development team is behind a plugin or theme, plugins and themes will always be prone to humans errors.
What happens when a developer accidentally pushes out bad code? Well, for one, it can take down your entire site. Or it can simply break other functionality that you might not even realize until later. Here are a couple examples on plugins that I actually use that had issues this very month. I by no means want to single anyone out here, as it happens throughout the entire WordPress marketplace.
This first plugin introduced some bad code that would actually freeze the media library. 😦
This second plugin introduced some bad code that would actually cause a 500 error on your WordPress site. 😥
These types of bad updates actually happen a lot! I see patches to fix a patch multiple times per week.
My Recommendations for Updating Plugins and Themes
So what is the safest route to go? Well, here are my recommendations when it comes to updating plugins and themes on your WordPress site.
1. Look at the Plugin/Theme Changelog
The first thing you should do is always look at the plugin and or theme’s changelog. This can be found within the “Plugin” update section in the WordPress dashboard. If there is a critical security update, then by all means, you should update it right away to ensure your WordPress site is safe. If there isn’t, I recommend waiting a week or two before updating.
Why wait? Because in almost 99% of scenarios if a developer pushes out bad code, if you wait a week or two, they will most likely have pushed out a fix and in essence, you can bypass all the problems altogether. This is less of a headache for you, your clients, and saves you time. In those 2 plugin examples I mentioned above, I didn’t update either of them within that time period and therefore, never experienced issues.
2. Use a Staging Environment
If for some reason an update has a feature or fix that you do need right away, then I strongly suggest using a staging environment to test with first(even for the smallest of updates!). Many hosts have staging environments now, so make sure you take advantage of them. This is what they are meant to be used for… testing.
The next time that shiny new plugin update comes around, ask yourself if you really need it today. If you don’t, and it isn’t security related, wait a week or two… trust me, you’ll thank me in the long run. I have been doing updates this way for a long time and almost never experience anything breaking anymore.
I would love to hear your thoughts on updating plugins and themes. What is your workflow? Let me know below in the comments. 👇