{"id":83,"date":"2015-04-19T16:26:42","date_gmt":"2015-04-19T16:26:42","guid":{"rendered":"http:\/\/cloudhost.com.ng\/blog\/?p=83"},"modified":"2015-04-19T16:26:42","modified_gmt":"2015-04-19T16:26:42","slug":"wordpress-auto-updates-for-your-blogsite","status":"publish","type":"post","link":"https:\/\/cloudhost.com.ng\/blog\/wordpress-auto-updates-for-your-blogsite\/","title":{"rendered":"WordPress Auto Updates for your Blog\/Site"},"content":{"rendered":"<h2>WordPress Auto Updates<\/h2>\n<div>\n<h6>Learn how to configure or disable WordPress auto updates<\/p>\n<p>In WordPress 3.7 a new feature was introduced to the core functionality of the application &#8211; the automatic updates. In this tutorial we will do our best to explain you the way those auto updates work, how to configure them and how to completely disable WordPress auto updates in case you want to handle them manually.<\/h6>\n<h3 class=\"heading h3\">Default auto update configuration<\/h3>\n<p>By default, from version 3.7 and above, your WordPress site will update itself when a new minor or security update is released. This means, that if you&#8217;re on WordPress 3.7.0 and version 3.7.1 is released the application will auto update itself. On the other hand, if WordPress 3.8 is released (a major version) by default you will have to update to it manually.<\/p>\n<h2><\/h2>\n<div class=\"notify warning\"><strong>Important<\/strong>If you are using version control system, WordPress will disable its auto updates. Currently, it will check if you&#8217;re using Subversion, Git, Mercurial, or Bazaar.<\/div>\n<h2><\/h2>\n<h3 class=\"heading h3\">How to enable major release updates<\/h3>\n<h2><\/h2>\n<p>If you want the WordPress auto updates to handle major core updates too, you will have to add a single configuration line. To do this, open the wp-config.php file in the root folder of your WordPress installation and add this line to it:<\/p>\n<h2><\/h2>\n<pre>define('WP_AUTO_UPDATE_CORE', true);<\/pre>\n<h2><\/h2>\n<h3 class=\"heading h3\">How to enable plugins updates<\/h3>\n<h2><\/h2>\n<p>If you want your plugins to be automatically updated by WordPress when a new version is released, you need to add a line to your wp-config.php file, similar to the one above. This time, however, a filter is used for enabling the plugin auto updates:<\/p>\n<h2><\/h2>\n<pre>add_filter( 'auto_update_plugin', '__return_true' );<\/pre>\n<h2><\/h2>\n<h3 class=\"heading h3\">How to enable themes updates<\/h3>\n<h2><\/h2>\n<p>If you want WordPress to handle themes updates you need another line added to the wp-config.php file:<\/p>\n<h2><\/h2>\n<pre>add_filter( 'auto_update_theme', '__return_true' );<\/pre>\n<h2><\/h2>\n<div class=\"notify information\"><strong>Note<\/strong>This will work only if your theme is downloaded from the official WordPress repository. If you&#8217;re using a paid theme for example, or you&#8217;ve downloaded your theme from a designer&#8217;s website it will not update automatically when new version is released.<\/div>\n<h2><\/h2>\n<h3 class=\"heading h3\">How to disable core auto updates but enable plugins and themes auto updates<\/h3>\n<h2><\/h2>\n<p>If you want to stop the autoupdates of the WordPress core, but to enable them for your Plugins and\/or Themes, you can add these lines in the wp-config.php file:<\/p>\n<h2><small>Stop the core auto updates:<\/small><\/h2>\n<pre>define( 'WP_AUTO_UPDATE_CORE', false );<\/pre>\n<h2><small>Then Enable the plugins\/themes:<\/small><\/h2>\n<pre>add_filter( 'auto_update_plugin', '__return_true' );\r\nadd_filter( 'auto_update_theme', '__return_true' );<\/pre>\n<h2><\/h2>\n<h3 class=\"heading h3\">How to completely disable the WordPress auto updates<\/h3>\n<h2><\/h2>\n<p>If you want to disable the WordPress auto updates completely, open the wp-config.php file and add this line to it:<\/p>\n<h2><\/h2>\n<pre>define( 'AUTOMATIC_UPDATER_DISABLED', true );<\/pre>\n<h2><\/h2>\n<div class=\"notify warning\"><strong>Important<\/strong>If you disable WordPress auto updates completely, that will disable both plugins, themes and core auto updates no mater what configurations you&#8217;ve made for themes or plugins.<\/div>\n<h5>We have a WordPress one click install for <a href=\"https:\/\/secure.cloudhost.com.ng\/clientarea.php\">all our Hosting accounts<\/a> @ CloudHost, this manages Automatic Updates for you too<\/h5>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>WordPress Auto Updates Learn how to configure or disable WordPress auto updates In WordPress 3.7 a new feature was introduced to the core functionality of the application &#8211; the automatic updates. In this tutorial we will do our best to explain you the way those auto updates work, how to configure them and how to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"yst_prominent_words":[],"class_list":["post-83","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/83"}],"collection":[{"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/comments?post=83"}],"version-history":[{"count":1,"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/83\/revisions"}],"predecessor-version":[{"id":84,"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/83\/revisions\/84"}],"wp:attachment":[{"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/media?parent=83"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/categories?post=83"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/tags?post=83"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/yst_prominent_words?post=83"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}