Skip to content

Commit 203f0e8

Browse files
committed
Merge PDO_Engine & Translator classes
1 parent dc18b26 commit 203f0e8

4 files changed

Lines changed: 741 additions & 777 deletions

File tree

wp-includes/sqlite/class-wp-sqlite-db.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class WP_SQLite_DB extends wpdb {
1818
*
1919
* @access protected
2020
*
21-
* @var WP_SQLite_PDO_Engine
21+
* @var WP_SQLite_Translator
2222
*/
2323
protected $dbh;
2424

@@ -231,7 +231,7 @@ public function db_connect( $allow_bail = true ) {
231231
if ( isset( $GLOBALS['@pdo'] ) ) {
232232
$pdo = $GLOBALS['@pdo'];
233233
}
234-
$this->dbh = new WP_SQLite_PDO_Engine( $pdo );
234+
$this->dbh = new WP_SQLite_Translator( $pdo );
235235
$this->last_error = $this->dbh->get_error_message();
236236
if ( $this->last_error ) {
237237
return false;

0 commit comments

Comments
 (0)