Skip to content

Instantly share code, notes, and snippets.

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 aaroncampbell/7147152 to your computer and use it in GitHub Desktop.
Save aaroncampbell/7147152 to your computer and use it in GitHub Desktop.
WordPress plugin to enable automatic background updates for major versions.
<?php
/**
* Plugin Name: Background Updates for Major Releases
* Plugin URI: http://ran.ge/
* Description: Enables background updates for major releases
* Version: 1.0.0
* Author: Aaron D. Campbell
* Author URI: http://ran.ge/
* License: GPLv2 or later
*/
add_filter( 'allow_major_auto_core_updates', '__return_true' );
@aaroncampbell
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment