Make WordPress Core


Ignore:
Timestamp:
02/25/2014 03:52:48 PM (11 years ago)
Author:
nacin
Message:

Use mysqli for WordPress development versions, regardless of PHP version, to increase testing footprint.

Allow the lack of ext/mysql to pass wp_check_php_mysql_versions().

see #21663.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/load.php

    r25455 r27257  
    108108    }
    109109
    110     if ( ! extension_loaded( 'mysql' ) && ! file_exists( WP_CONTENT_DIR . '/db.php' ) ) {
     110    if ( ! extension_loaded( 'mysql' ) && ! extension_loaded( 'mysqli' ) && ! file_exists( WP_CONTENT_DIR . '/db.php' ) ) {
    111111        wp_load_translations_early();
    112112        die( __( 'Your PHP installation appears to be missing the MySQL extension which is required by WordPress.' ) );
Note: See TracChangeset for help on using the changeset viewer.