mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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 git-svn-id: https://develop.svn.wordpress.org/trunk@56475 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -556,7 +556,6 @@ class WpdbExposedMethodsForTesting extends wpdb {
|
||||
public function __construct() {
|
||||
global $wpdb;
|
||||
$this->dbh = $wpdb->dbh;
|
||||
$this->use_mysqli = $wpdb->use_mysqli;
|
||||
$this->is_mysql = $wpdb->is_mysql;
|
||||
$this->ready = true;
|
||||
$this->field_types = $wpdb->field_types;
|
||||
|
||||
Reference in New Issue
Block a user