Skip to content

Instantly share code, notes, and snippets.

Revisions

  1. aaroncampbell created this gist Oct 24, 2013.
    12 changes: 12 additions & 0 deletions background-updates-for-major-releases.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    <?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' );