Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions classes/models/FrmDb.php
Original file line number Diff line number Diff line change
Expand Up @@ -442,13 +442,6 @@ private static function generate_query_string_from_pieces( $columns, $table, $wh
self::get_where_clause_and_values( $where );
global $wpdb;
$query = $wpdb->prepare( $query . $where['where'] . ' ' . implode( ' ', $args ), $where['values'] ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
} else {
/**
* Allow the $where to be prepared before we receive it here.
* This is a fallback for reverse compatibility, but is not recommended
*/
_deprecated_argument( 'where', '2.0', esc_html__( 'Use the query in an array format so it can be properly prepared.', 'formidable' ) );
$query .= $where . ' ' . implode( ' ', $args );
}

return $query;
Expand Down