Skip to content

Should I update WordPress or plugins first? What is the correct update order?

Updates are a key part of keeping your WordPress site secure and effective. While some updates are less important than others, neglecting them can lead to security and performance issues. A common question among WordPress users is what should be updated first – WordPress or plugins? In this article, we will explain the proper order of updates and provide specific solutions to optimize the process.

Correct update order

In an ideal world, both WordPress and plugins should be updated as new versions are released. In practice, however, it is safest to start by updating the smallest component and then move on to larger elements. In the context of WordPress, this means first updating the plugins, then the theme, and finally the WordPress core itself.

Here is a detailed explanation:

1. Plugin update

Typically, plugins are updated more frequently than the WordPress core. These updates usually contain bug fixes, additional features and, most importantly, security patches. For this reason, it is recommended to update plugins regularly. Remember to make a backup copy of your website before each update.

2. Topic update

The next step is to update the topic. The theme, like plugins, may contain security vulnerabilities that are patched through updates. Additionally, theme updates typically include appearance and performance improvements.

3. WordPress core update

Finally, we have an update to the WordPress core. Unlike plugins and themes, WordPress core is updated less frequently. For this reason, it is less likely that conflicts will arise between updating the core and updating plugins or themes.

Specific solutions

Updating WordPress and its components can be automated using various tools. Here are a few of them:

1. Easy Updates Manager plugin

Easy Updates Manager is a popular plugin that allows you to manage all your WordPress updates in one place. The user can decide which components should be updated automatically and which should be updated manually.

2. PHP Snippet

If you're more tech-savvy, you can use PHP snippets to automatically update WordPress. Here is an example snippet:

add_filter( 'auto_update_plugin', '__return_true' ); add_filter( 'auto_update_theme', '__return_true' );

This code, located in the theme's functions.php file, enables automatic updates for all plugins and themes.

3. Managed WordPress Hosting

Another solution is to use a managed WordPress hosting service. Hosting companies like Kinsta, WP Engine, and SiteGround offer automatic WordPress updates as part of their services.

In summary, the proper order to update WordPress is plugins first, then theme, and finally core. All this, of course, after making an appropriate backup. There are many tools that can help automate this process, including plugins, PHP snippets, and managed WordPress hosting services. However, remember that regardless of the method, it is important to perform regular updates to maintain the security and effectiveness of your site.

Check out the offer of 1500+ Premium WordPress plugins and themes!