Skip to content

Commit 77c232d

Browse files
committed
PHPCS: whitelist some code for select sniffs
1 parent b7a09a1 commit 77c232d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Transient_Command.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,7 @@ public function list_( $args, $assoc_args ) {
381381
$query = "SELECT `option_name` as `name`, `option_value` as `value` FROM {$wpdb->options} {$where}";
382382
}
383383

384+
// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- Prepared properly above.
384385
$results = $wpdb->get_results( $query );
385386

386387
foreach ( $results as $result ) {

0 commit comments

Comments
 (0)