Make WordPress Core


Ignore:
Timestamp:
08/26/2023 01:01:05 PM (21 months ago)
Author:
johnbillion
Message:

Database: Remove support for the mysql extension.

The mysql extension is no longer used in PHP 7 or above. There's a good amount of conditional code in wpdb and the health checks that can be removed now that only the mysqli functions are used.

Fixes #59118

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/db.php

    r55562 r56475  
    714714    public function test_mysqli_flush_sync() {
    715715        global $wpdb;
    716         if ( ! $wpdb->use_mysqli ) {
    717             $this->markTestSkipped( 'mysqli not being used.' );
    718         }
    719716
    720717        $suppress = $wpdb->suppress_errors( true );
Note: See TracChangeset for help on using the changeset viewer.