Posts published on November 2013

WordPress AutoUpdate fix for Version Controlled Sites


So.. since version 3.7 WordPress has had a neat auto-update function, unfortunately, WordPress is also quite cautious so it checks to see if the website is using any kind of Version Control and if so disables the auto update function.  BUT what if your using version control but not to actually manage what version of WordPress is installed.

Luckily this line of code will override the “under version control” test of the auto update and re-enable automatic updates.

add_filter( 'automatic_updates_is_vcs_checkout', '__return_false');

re-enabling the auto-update functionality.