mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
Bump WP version in update_core()
git-svn-id: http://svn.automattic.com/wordpress/trunk@15057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
332c2773e0
commit
ef70402de0
@ -274,7 +274,7 @@ function update_core($from, $to) {
|
||||
$mysql_version = $wpdb->db_version();
|
||||
$required_php_version = '4.3';
|
||||
$required_mysql_version = '4.1.2';
|
||||
$wp_version = '2.9.1';
|
||||
$wp_version = '3.0';
|
||||
$php_compat = version_compare( $php_version, $required_php_version, '>=' );
|
||||
$mysql_compat = version_compare( $mysql_version, $required_mysql_version, '>=' ) || file_exists( WP_CONTENT_DIR . '/db.php' );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user