| @@ -47,8 +47,9 @@ | ||
| 47 | 47 | global $wpdb; |
| 48 | 48 | |
| 49 | 49 | $tableName = $wpdb->prefix . 'sync_basalam_job_manager'; |
| 50 | 50 | |
| 51 | + // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, PluginCheck.Security.DirectDB.UnescapedDBParameter -- Custom plugin table; identifier from $wpdb->prefix, not user input. | |
| 51 | 52 | $jobs = $wpdb->get_results($wpdb->prepare( |
| 52 | 53 | "SELECT payload FROM {$tableName} |
| 53 | 54 | WHERE job_type = %s |
| 54 | 55 | AND (status = %s OR status = %s)", |