mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Bump MySQL requirement to 4.1.2 per previous discussions and announcements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
60c67e593c
commit
bee735ee04
@ -1050,9 +1050,9 @@ class wpdb {
|
||||
function check_database_version()
|
||||
{
|
||||
global $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));
|
||||
// Make sure the server has MySQL 4.1.2
|
||||
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.2 or higher'), $wp_version));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user