Bump the MySQL requirement to 4.1.0. Props Denis-de-Bernardy. see #11437
git-svn-id: https://develop.svn.wordpress.org/trunk@12404 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1e123f43a7
commit
f2f48162ec
@ -1052,9 +1052,9 @@ class wpdb {
|
||||
function check_database_version()
|
||||
{
|
||||
global $wp_version;
|
||||
// Make sure the server has MySQL 4.0
|
||||
if ( version_compare($this->db_version(), '4.0.0', '<') )
|
||||
return new WP_Error('database_version',sprintf(__('<strong>ERROR</strong>: WordPress %s requires MySQL 4.0.0 or higher'), $wp_version));
|
||||
// Make sure the server has MySQL 4.1
|
||||
if ( version_compare($this->db_version(), '4.1.0', '<') )
|
||||
return new WP_Error('database_version',sprintf(__('<strong>ERROR</strong>: WordPress %s requires MySQL 4.1.0 or higher'), $wp_version));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user