Make WordPress Core

Changeset 12404


Ignore:
Timestamp:
12/15/2009 04:04:32 PM (17 years ago)
Author:
ryan
Message:

Bump the MySQL requirement to 4.1.0. Props Denis-de-Bernardy. see #11437

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/wp-db.php

    r12207 r12404  
    10531053        {
    10541054                global $wp_version;
    1055                 // Make sure the server has MySQL 4.0
    1056                 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));
    10581058        }
    10591059
Note: See TracChangeset for help on using the changeset viewer.