From cd579e3798b1b13fcc1cad53439b486905b9eb7c Mon Sep 17 00:00:00 2001 From: Ron Rennick Date: Fri, 28 Aug 2020 13:56:25 -0300 Subject: [PATCH] update phpcs rule --- includes/class-wc-tax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-wc-tax.php b/includes/class-wc-tax.php index 5f4aa1c8ba3..8dd22c22dbc 100644 --- a/includes/class-wc-tax.php +++ b/includes/class-wc-tax.php @@ -403,7 +403,7 @@ class WC_Tax { $criteria_string = implode( ' AND ', $criteria ); - // phpcs:disable WordPress.DB.PreparedSQL.NotPrepared + // phpcs:disable WordPress.DB.PreparedSQL.InterpolatedNotPrepared $found_rates = $wpdb->get_results( " SELECT tax_rates.*, COUNT( locations.location_id ) as postcode_count, COUNT( locations2.location_id ) as city_count