PluginProbe
ووسلام – همگام سازی ووکامرس و باسلام / 1.10.20
ووسلام – همگام سازی ووکامرس و باسلام v1.10.20
1.10.19 1.10.20 1.10.18 1.10.17 1.10.15 1.10.14 1.10.13 1.10.12 1.10.10 1.10.9 1.10.8 1.10.7 1.10.6 1.10.5 1.10.4 1.10.3 1.10.2 1.10.1 1.10.0 1.9.2 1.9.1 1.9.0 1.8.8 1.8.5 1.8.6 All 53 releases
← All changes | includes/Admin/Product/Services/ProductQueryService.php +2 -0 1.9.01.10.20 View file →
@@ -50,8 +50,9 @@
50 50 ORDER BY p.ID ASC
51 51 LIMIT %d
52 52 ", $productIdMetaKey, $lastId, $postsPerPage);
53 53
54 + // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, PluginCheck.Security.DirectDB.UnescapedDBParameter -- Core WP table identifiers from $wpdb properties and a whitelisted static stock-condition fragment, not user input; values are prepared.
54 55 $ids = $wpdb->get_col($query);
55 56
56 57 return array_map('intval', $ids);
57 58 }
@@ -79,8 +80,9 @@
79 80 ORDER BY p.ID ASC
80 81 LIMIT %d
81 82 ", $productIdMetaKey, $lastId, $postsPerPage);
82 83
84 + // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, PluginCheck.Security.DirectDB.UnescapedDBParameter -- Core WP table identifiers from $wpdb properties, not user input; values are prepared.
83 85 $ids = $wpdb->get_col($query);
84 86
85 87 return array_map('intval', $ids);
86 88 }