update phpcs rule

This commit is contained in:
Ron Rennick 2020-08-28 13:56:25 -03:00 committed by GitHub
parent a939cacf5c
commit cd579e3798
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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