Bump MySQL requirement to 4.1.2 per previous discussions and announcements.
git-svn-id: https://develop.svn.wordpress.org/trunk@12410 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8e0d091c55
commit
13b96eb0cb
|
@ -1050,9 +1050,9 @@ class wpdb {
|
||||||
function check_database_version()
|
function check_database_version()
|
||||||
{
|
{
|
||||||
global $wp_version;
|
global $wp_version;
|
||||||
// Make sure the server has MySQL 4.1
|
// Make sure the server has MySQL 4.1.2
|
||||||
if ( version_compare($this->db_version(), '4.1.0', '<') )
|
if ( version_compare($this->db_version(), '4.1.2', '<') )
|
||||||
return new WP_Error('database_version',sprintf(__('<strong>ERROR</strong>: WordPress %s requires MySQL 4.1.0 or higher'), $wp_version));
|
return new WP_Error('database_version',sprintf(__('<strong>ERROR</strong>: WordPress %s requires MySQL 4.1.2 or higher'), $wp_version));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue