add connect error handling

This commit is contained in:
Matthew Bucci committed 2023-11-09 23:01:26 -08:00
1 parent 31ce063e06
commit 54b4ffb4df
2 files changed
+1 -1

No files matched your search

+1
View File
@@ -24,6 +24,7 @@ $replaces = array(
'new wpdb' => 'new wpdb2',
'instanceof mysqli_result' => 'instanceof \PgSql\Result',
'instanceof mysqli' => 'instanceof \PgSql\Connection',
'$this->dbh->connect_errno' => 'wpsqli_connect_error()',
'mysqli_' => 'wpsqli_',
'is_resource' => 'wpsqli_is_resource',
'<?php' => '',