Created
June 28, 2017 18:50
-
-
Save justinshreve/33ce0b15435a56b2c9cbdae46244b1e7 to your computer and use it in GitHub Desktop.
Force auto update
This file contains 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 | |
// Force an auto update | |
require( dirname(__FILE__) . '/wp-load.php' ); | |
delete_option( 'auto_updater.lock' ); | |
wp_maybe_auto_update(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment