We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2fb5cbb + bb0e22f commit ca775d2Copy full SHA for ca775d2
1 file changed
wp-includes/sqlite/class-wp-sqlite-db.php
@@ -341,7 +341,7 @@ public function query( $query ) {
341
if ( $this->dbh instanceof WP_SQLite_Driver ) {
342
$this->rows_affected = $this->dbh->get_last_return_value();
343
} else {
344
- $this->rows_affected = $this->dbh->get_rows_affected();
+ $this->rows_affected = $this->dbh->get_affected_rows();
345
}
346
347
// Take note of the insert_id.
0 commit comments