Skip to content

Commit

Permalink
Fix undefined method call
Browse files Browse the repository at this point in the history
  • Loading branch information
JanJakes committed Mar 4, 2025
1 parent 2fb5cbb commit bb0e22f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-includes/sqlite/class-wp-sqlite-db.php
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ public function query( $query ) {
if ( $this->dbh instanceof WP_SQLite_Driver ) {
$this->rows_affected = $this->dbh->get_last_return_value();
} else {
$this->rows_affected = $this->dbh->get_rows_affected();
$this->rows_affected = $this->dbh->get_affected_rows();
}

// Take note of the insert_id.
Expand Down

0 comments on commit bb0e22f

Please sign in to comment.