Created
December 6, 2011 23:47
-
-
Save Viper007Bond/1440653 to your computer and use it in GitHub Desktop.
Updgrade the WordPress DB from the command line
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 | |
| # Stick this file in your wp-content folder | |
| define( 'WP_INSTALLING', true ); | |
| require_once( dirname( __FILE__ ) . '/../wp-load.php' ); | |
| timer_start(); | |
| require_once( ABSPATH . 'wp-admin/includes/upgrade.php' ); | |
| delete_site_transient('update_core'); | |
| wp_upgrade(); | |
| die( '0' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment