update phpcs rule
This commit is contained in:
parent
a939cacf5c
commit
cd579e3798
|
@ -403,7 +403,7 @@ class WC_Tax {
|
||||||
|
|
||||||
$criteria_string = implode( ' AND ', $criteria );
|
$criteria_string = implode( ' AND ', $criteria );
|
||||||
|
|
||||||
// phpcs:disable WordPress.DB.PreparedSQL.NotPrepared
|
// phpcs:disable WordPress.DB.PreparedSQL.InterpolatedNotPrepared
|
||||||
$found_rates = $wpdb->get_results(
|
$found_rates = $wpdb->get_results(
|
||||||
"
|
"
|
||||||
SELECT tax_rates.*, COUNT( locations.location_id ) as postcode_count, COUNT( locations2.location_id ) as city_count
|
SELECT tax_rates.*, COUNT( locations.location_id ) as postcode_count, COUNT( locations2.location_id ) as city_count
|
||||||
|
|
Loading…
Reference in New Issue