Skip to content

Instantly share code, notes, and snippets.

@mustardBees
Created October 25, 2013 09:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mustardBees/7152230 to your computer and use it in GitHub Desktop.
Save mustardBees/7152230 to your computer and use it in GitHub Desktop.
Enable background updates for version controlled sites
<?php
/*
Plugin Name: Enable background updates for version controlled sites
Plugin URI: http://www.iweb.co.uk/
Description: Override the check for version controlled checkouts to allow automatic updates.
Version: 1.0
Author: iWeb
Author URI: http://www.iweb.co.uk/
*/
add_filter( 'automatic_updates_is_vcs_checkout', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment