| @@ -33,8 +33,9 @@ | ||
| 33 | 33 | Logger::warning($message); |
| 34 | 34 | continue; |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | + // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, PluginCheck.Security.DirectDB.UnescapedDBParameter -- Custom plugin table; identifier from $wpdb->prefix, not user input. | |
| 37 | 38 | $exists = $wpdb->get_var( |
| 38 | 39 | $wpdb->prepare( |
| 39 | 40 | "SELECT invoice_id FROM {$tableName} WHERE invoice_id = %d", |
| 40 | 41 | $invoiceId |