Bump the MySQL requirement to 4.1.0. Props Denis-de-Bernardy. see #11437
git-svn-id: http://svn.automattic.com/wordpress/trunk@12404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
11e3c1733b
commit
57a16afcb2
|
@ -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