Ticket #11437: 11437-extra.diff
File 11437-extra.diff, 764 bytes (added by , 15 years ago) |
---|
-
wp-includes/wp-db.php
1052 1052 function check_database_version() 1053 1053 { 1054 1054 global $wp_version; 1055 // Make sure the server has MySQL 4. 01056 if ( version_compare($this->db_version(), '4. 0.0', '<') )1057 return new WP_Error('database_version',sprintf(__('<strong>ERROR</strong>: WordPress %s requires MySQL 4. 0.0 or higher'), $wp_version));1055 // Make sure the server has MySQL 4.1 1056 if ( version_compare($this->db_version(), '4.1.0', '<') ) 1057 return new WP_Error('database_version',sprintf(__('<strong>ERROR</strong>: WordPress %s requires MySQL 4.1.0 or higher'), $wp_version)); 1058 1058 } 1059 1059 1060 1060 /**