| @@ -365,9 +365,9 @@ | ||
| 365 | 365 | |
| 366 | 366 | $backoffs = []; |
| 367 | 367 | |
| 368 | 368 | // Query all backoff transients |
| 369 | - $transient_keys = $wpdb->get_col( | |
| 369 | + $transient_keys = $wpdb->get_col( // phpcs:ignore WordPress.DB.DirectDatabaseQuery -- transient enumeration on the options table — no API to scan transient rows | |
| 370 | 370 | $wpdb->prepare( |
| 371 | 371 | "SELECT option_name FROM {$wpdb->options} |
| 372 | 372 | WHERE option_name LIKE %s", |
| 373 | 373 | '_transient_' . self::BACKOFF_PREFIX . '%' |
| @@ -422,9 +422,9 @@ | ||
| 422 | 422 | self::LAST_SUCCESS_PREFIX, |
| 423 | 423 | ]; |
| 424 | 424 | |
| 425 | 425 | foreach ($prefixes as $prefix) { |
| 426 | - $transient_keys = $wpdb->get_col( | |
| 426 | + $transient_keys = $wpdb->get_col( // phpcs:ignore WordPress.DB.DirectDatabaseQuery -- transient enumeration on the options table — no API to scan transient rows | |
| 427 | 427 | $wpdb->prepare( |
| 428 | 428 | "SELECT option_name FROM {$wpdb->options} |
| 429 | 429 | WHERE option_name LIKE %s |
| 430 | 430 | OR option_name LIKE %s", |