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/includes/utils.php

    r55028 r56475  
    557557        global $wpdb;
    558558        $this->dbh         = $wpdb->dbh;
    559         $this->use_mysqli  = $wpdb->use_mysqli;
    560559        $this->is_mysql    = $wpdb->is_mysql;
    561560        $this->ready       = true;
Note: See TracChangeset for help on using the changeset viewer.