PluginProbe
WCPOS – Point of Sale (POS) plugin for WooCommerce / 1.10.19
WCPOS – Point of Sale (POS) plugin for WooCommerce v1.10.19
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 1.10.1 1.10.0 1.9.17 1.9.15 1.9.16 1.9.14 All 163 releases
← All changes | includes/API/V2/Digests_Controller.php +3 -2 1.10.131.10.19 View file →
@@ -98,10 +98,11 @@
98 98 200
99 99 );
100 100 }
101 101 $read_ids = $ids;
102 - if ( 'products' === $collection && 'publish' === $request->get_param( 'status' ) ) {
103 - $read_ids = $this->index->published_product_ids( $ids );
102 + $published_ids = Collections::row( $collection )['digest']['published_ids'] ?? null;
103 + if ( null !== $published_ids && 'publish' === $request->get_param( 'status' ) ) {
104 + $read_ids = $this->index->$published_ids( $ids );
104 105 }
105 106 $digests = $this->index->read_digests( $collection, $read_ids );
106 107 $explicit_absence = 'explicit' === $request->get_param( 'absence' );
107 108 $absent_ids = $explicit_absence ? array_values( array_diff( $ids, array_keys( $digests ) ) ) : array();