-
-
Save carolinan/222e5f37f93691280721bb8bec786357 to your computer and use it in GitHub Desktop.
Plugin to simulate plugin/theme update failure for testing Rollback Update Failure feature plugin.
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 | |
/** | |
* Rollback Update Testing | |
* | |
* @package rollback-update-testing | |
* @author Andy Fragen <[email protected]> | |
* @license MIT | |
*/ | |
/** | |
* Plugin Name: Rollback Update Testing | |
* Plugin URI: https://gist.github.com/afragen/80b68a6c8826ab37025b05d4519bb4bf | |
* Description: This plugin is used for Rollback Update Failure feature plugin testing to simulate a failure. | |
* Version: 0.1 | |
* Author: Andy Fragen | |
* License: MIT | |
* Requires at least: 5.2 | |
* Requires PHP: 5.6 | |
* Gist Plugin URI: https://gist.github.com/afragen/80b68a6c8826ab37025b05d4519bb4bf | |
*/ | |
add_filter( 'rollback_update_testing', '__return_true' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment