← All changes
|
includes/Services/Products/AutoConnectProducts.php
+1
-0
1.8.8
→
1.10.21
View file →
| @@ -49,8 +49,9 @@ | ||
| 49 | 49 | } else { |
| 50 | 50 | $likeTitle = $normalizedTitle; |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | + // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching -- Direct lookup on core posts/postmeta tables; no cache key available for this title match. | |
| 53 | 54 | $productId = $wpdb->get_var( |
| 54 | 55 | $wpdb->prepare(" |
| 55 | 56 | SELECT p.ID |
| 56 | 57 | FROM {$wpdb->posts} p |