Upgrade or die.
git-svn-id: https://develop.svn.wordpress.org/trunk@3182 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3c37565a90
commit
0586384a7f
@ -3,6 +3,9 @@ if ( defined('ABSPATH') )
|
||||
require_once( ABSPATH . 'wp-config.php');
|
||||
else
|
||||
require_once('../wp-config.php');
|
||||
|
||||
if ( get_option('db_version') != $wp_db_version )
|
||||
die (sprintf(__("Your database is out-of-date. Please run <a href='%s'>upgrade.php</a>."), get_option('siteurl') . '/wp-admin/upgrade.php'));
|
||||
|
||||
require_once(ABSPATH . 'wp-admin/admin-functions.php');
|
||||
require_once(ABSPATH . 'wp-admin/admin-db.php');
|
||||
|
Loading…
Reference in New Issue
Block a user