Affichage des articles dont le libellé est Automatic. Afficher tous les articles
Affichage des articles dont le libellé est Automatic. Afficher tous les articles

samedi 12 novembre 2016

How to Better Manage Automatic WordPress Updates



Are you looking for a way to automatically manage WordPress updates? Updates are important for security and stability of your WordPress site. In this article, we will show you how to better manage automatic WordPress updates.


How to Better Manage Automatic WordPress Updates


Why and Who Needs Better Automatic Updates in WordPress?


By default WordPress can automatically update itself when a security or minor release is available. For major releases, you have to initiate the update yourself. You also have to install plugin and theme updates manually as well.


Keeping your WordPress site updated is extremely important. See our guide on why you should always use the latest version of WordPress.


Same goes for all plugins and themes installed on your website. You need to install updates for themes and plugins to get new features and fixes.


However, you may have noticed that some of them are updated more frequently than others. A lot of popular plugins are updated almost weekly.


WordPress updates


Some users find it a bit annoying that whenever they login there are new updates available for one or more plugins, WordPress core, or theme. It becomes even more time consuming when you manage multiple WordPress sites.


Wouldn’t it be better if you could setup WordPress to automatically install updates for WordPress core, trusted plugins, and themes?


Let’s see how you can take total control of WordPress and minimize the time spent on installing updates.


Setting up Easy Updates Manager


First thing you need to do is install and activate the Easy Updates Manager plugin. For more details, see our step by step guide on how to install a WordPress plugin.


Upon activation, you need to visit Dashboard » Updates Options page to set up the plugin.


Manage WordPress updates page


The plugin’s settings page is divided into different tabs. You will land on the Dashboard tab which has three columns and two rows.


This page provides you quick access to turn off updates for WordPress core, plugins, themes, translations, etc. The default settings here are recommended for all WordPress site owners.


We strongly recommend not to turn off updates for WordPress core, plugins, or themes. It will seriously compromise your site’s security and health.


Next, click on the General tab in plugin settings. This page provides you access to Enable or Disable WordPress updates globally on your site.


Global update settings


Setting Up Automatic Updates for WordPress, Plugins, and Themes


Easy Updates Manager allow you to quickly enable automatic updates for WordPress core, plugins, and themes.


Go to the plugin’s settings page and click on General tab. After that scroll down to the automatic updates section.


Managing auto updates


Here you can quickly turn on automatic updates for Core, plugins, or themes. Simply click on enable and then click on save changes button to store your settings.


This plugin also allows you to selectively turn on automatic updates for some plugins or themes. If you would like to selectively turn on automatic updates, then click on ‘Select Individually’ next to the Automatic Plugin Updates option.


Set Automatic Updates for Select Plugins and Themes


If you selected to individually enable automatic updates for few plugins, then you need to switch to the plugins tab under plugin settings.


Enable automatic updates for individual plugins


Here you will see a list of all plugins installed on your WordPress site. Below each plugin, you will find a link to enable automatic updates for that plugin.


Switch to the Themes tab, and you will see a list of themes installed on your site.


Select which themes to automatically update


Simply click on enable automatic updates for themes that you want to be automatically updated.


How to Rollback to a Previous Version of Plugin or Theme After Update?


Plugin or theme incompatibilities is the major reason why some users are hesitant when it comes to updating. Even though most good developers thoroughly test their plugins, there can still be bugs that can cause your site to break.


The first step you should take to protect your website is to install a WordPress backup solution.


However, restoring your WordPress site from a backup can be a lot of work. If you know what plugin or theme update caused the problem, then it would be easier to just rollback the update.


Here is how you can easily rollback plugin or theme updates.


The first thing you need to do is install and activate the WP Rollback plugin.


Upon activation, go back to the plugins page on your WordPress site. You will notice a new Rollback option below each plugin installed on your site.


Rollback plugin updates


Clicking on Rollback will allow you to rollback your plugin to any previous version you want. It can also rollback theme updates. For more detailed instructions see our guide on how to rollback WordPress plugins.


We hope this article helped you find a better way to manage automatic WordPress updates on your site. You may also want to see our list of 40 useful tools to manage and grow your WordPress blog


If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.


The post How to Better Manage Automatic WordPress Updates appeared first on WPBeginner.







How to Disable Automatic Update Email Notification in WordPress



Do you want to disable automatic update email notification in WordPress? By default, WordPress sends an email notification to inform you that your WordPress site is updated after security updates. Recently one of our readers asked if there is an easy way to disable that. In this article, we will show you how to easily disable automatic update email notification in WordPress.


How to Disable Automatic Update Email Notification in WordPress


About Automatic Updates in WordPress


WordPress is an open source software which is maintained by a community of developers. It is regularly updated to fix security issues, bugs, and to add new features.


WordPress updates


This is why you should always use the latest version of WordPress to make sure that your website is safe and up to date.


WordPress automatically installs minor updates as soon as they are available. After the update, your WordPress site sends a notification to the WordPress admin email address.


The purpose of this email notification is just to inform you that your WordPress site is updated.


If you maintain multiple WordPress sites, then you will get an email from each website. This can be a bit annoying.


Let’s see how to easily turn off the automatic update email notification in WordPress.


Method 1: Disable Automatic Update Email Notification Using Plugin


This method is simpler and does not require you to add any code to your WordPress site.


First thing you need to do is install and activate the Disable WordPress Core Update Email. For more details, see our step by step guide on how to install a WordPress plugin.


The plugin works out of the box, and there are no settings for you to configure.


Upon activation, it simply disables email notification sent after WordPress automatic update.


Method 2: Disable Automatic Update Email Notification Using Code


This method requires you to add code to your WordPress files. If you haven’t done this before, then take a look at our beginner’s guide on pasting snippets from web into WordPress.


You will need to add this code to your theme’s functions.php file or a site-specific plugin.



add_filter( 'auto_core_update_send_email', 'wpb_stop_auto_update_emails', 10, 4 );

function wpb_stop_update_emails( $send, $type, $core_update, $result ) {
if ( ! empty( $type ) && $type == 'success' ) {
return false;
}
return true;
}

This code simply adds a filter to disable email notification after automatic core update.


Managing Notifications and Updates in WordPress


By default, WordPress does not allow you to automatically install updates. Many site owners find it a bit annoying to update themes and plugins, especially if they maintain multiple WordPress sites.


Managing WordPress updates


Luckily, there are plugins that allow you to more efficiently manage WordPress updates. For detailed instructions see our guide on how to better manage automatic WordPress updates.


Similarly, WordPress by default has no unified interface to manage notification emails. It may not even send email notifications and you wouldn’t notice it.


There are plugins that allow you to manage and control emails sent by WordPress. You can even customize default WordPress emails. For detailed instructions take a look at our guide on how to add better custom notifications in WordPress.


That’s all, we hope this article helped you learn how to disable automatic update email notification in WordPress. You may also want to see our guide on 24 must have WordPress plugins for business websites.


If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.


The post How to Disable Automatic Update Email Notification in WordPress appeared first on WPBeginner.