| @@ -54,9 +54,9 @@ | ||
| 54 | 54 | $import_result = $wpbc_Google_Calendar->run(); |
| 55 | 55 | |
| 56 | 56 | } else { |
| 57 | 57 | |
| 58 | - // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.PreparedSQL.NotPrepared | |
| 58 | + // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.PreparedSQL.NotPrepared, PluginCheck.Security.DirectDB.UnescapedDBParameter | |
| 59 | 59 | $types_list = $wpdb->get_results( "SELECT booking_type_id, import FROM {$wpdb->prefix}bookingtypes" ); |
| 60 | 60 | |
| 61 | 61 | foreach ($types_list as $wpbc_booking_resource) { |
| 62 | 62 | $wpbc_booking_resource_id = $wpbc_booking_resource->booking_type_id; |