Last active
May 15, 2021 23:00
-
-
Save afragen/64e4037576bd5292b5f3aeb1db39e0eb to your computer and use it in GitHub Desktop.
Test updating from GitHub Updater v9.9.10 to Git Updater
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Test GitHub Updater to Git Updater update | |
* Plugin URI: https://gist.github.com/afragen/64e4037576bd5292b5f3aeb1db39e0eb | |
* Description: Test the update process from GitHub Updater v9.9.10 to Git Updater. | |
* Author: Andy Fragen | |
* Version: 0.1.0 | |
* Author URI: http://thefragens.com | |
* Gist Plugin URI: https://gist.github.com/afragen/64e4037576bd5292b5f3aeb1db39e0eb | |
* License: MIT | |
* Requires PHP: 5.4 | |
*/ | |
add_filter('github_updater_set_options', function () { | |
return ['current_branch_github-updater' => 'develop']; | |
}); | |
add_filter('gu_set_options', function () { | |
return ['current_branch_git-updater' => 'master']; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment