PluginProbe
WCPOS – Point of Sale (POS) plugin for WooCommerce / 1.10.17
WCPOS – Point of Sale (POS) plugin for WooCommerce v1.10.17
1.10.25 1.10.24 1.10.23 1.10.22 1.10.21 1.10.20 1.10.19 1.10.18 1.10.17 1.10.16 1.10.15 1.10.13 1.10.14 1.10.12 1.10.11 1.10.10 1.10.9 1.10.8 untagged-3d9b7ccddc54df87c672 1.10.7 1.10.6 1.10.5 1.10.3 1.10.4 1.10.2 All 169 releases
← All changes | includes/Sync/Digest_Index.php +5 -0 1.10.7 → 1.10.17 View file →
@@ -352,8 +352,13 @@
352 352 * @return array<int, string>
353 353 */
354 354 public function read_digests( string $collection, array $ids ): array {
355 355 global $wpdb;
356 + // Order/customer upserts are coalesced per request and land at shutdown
357 + // (see Integrity_Digest::$pending_digests). A read inside the same
358 + // request — the pull lane stamping `_rxdb_digest` after a write — must
359 + // see the settled digest, so land what is owed before reading.
360 + Integrity_Digest::flush_pending_digests();
356 361 $object_types = self::digest_object_types( $collection );
357 362 if ( array() === $object_types ) {
358 363 return array();
359 364 }