1052 | | global $wp_version; |
1053 | | // Make sure the server has MySQL 4.1.2 |
1054 | | if ( version_compare($this->db_version(), '4.1.2', '<') ) |
1055 | | return new WP_Error('database_version',sprintf(__('<strong>ERROR</strong>: WordPress %s requires MySQL 4.1.2 or higher'), $wp_version)); |
| 1053 | global $wp_version, $required_mysql_version; |
| 1054 | // Make sure the server has the required MySQL version |
| 1055 | if ( version_compare($this->db_version(), $required_mysql_version, '<') ) |
| 1056 | return new WP_Error('database_version',sprintf(__('<strong>ERROR</strong>: WordPress %1$s requires MySQL %2$s or higher'), $wp_version, $required_mysql_version)); |