woocommerce/includes/data-stores
Boro Sitnikovski 9022261f13 Fix cache issue.
From discussion with @mikejolley:

The class is not doing its job of invaliding cache after adding a line item.
At any point (action hook), a 3pd can call `get_items` and it will cache the items for that particular order so any subsequent calls to it will return bad data.
Unless you ADD items, `get_items` will return good data.
So adding items in this case is not invalidating, so that's the bug.

Relates to: https://github.com/woocommerce/woocommerce-bookings/issues/1310
2017-08-07 15:29:17 +02:00
..
abstract-wc-order-data-store-cpt.php Revert "Merge pull request #14706 from crodas/make_get_item_consistent" 2017-06-27 22:28:23 -07:00
abstract-wc-order-item-type-data-store.php Fix cache issue. 2017-08-07 15:29:17 +02:00
class-wc-coupon-data-store-cpt.php Only delete if the object has an ID 2017-05-30 14:44:28 +01:00
class-wc-customer-data-store-session.php Store user ID and use that to determine is session data should overwrite user data. 2017-05-30 17:03:55 +01:00
class-wc-customer-data-store.php Fix typo in '@oaram' to '@param' 2017-07-19 08:14:41 +05:30
class-wc-customer-download-data-store.php PHPDoc: Add missing throws statement 2017-05-15 13:39:03 +02:00
class-wc-data-store-wp.php Merge pull request #15479 from woocommerce/add/poc-no-managing-meta-directly 2017-07-27 15:54:24 +01:00
class-wc-order-data-store-cpt.php WP_Query expects paged, not page 2017-07-03 12:24:30 +01:00
class-wc-order-item-coupon-data-store.php Miscellaneous cleanup of typos + change some return types for IDE helpers 2017-03-20 11:03:14 +01:00
class-wc-order-item-data-store.php leave objects alone rather than slashing in the meta api 2017-07-04 16:09:21 +01:00
class-wc-order-item-fee-data-store.php Miscellaneous cleanup of typos + change some return types for IDE helpers 2017-03-20 11:03:14 +01:00
class-wc-order-item-product-store.php Miscellaneous cleanup of typos + change some return types for IDE helpers 2017-03-20 11:03:14 +01:00
class-wc-order-item-shipping-data-store.php Miscellaneous cleanup of typos + change some return types for IDE helpers 2017-03-20 11:03:14 +01:00
class-wc-order-item-tax-data-store.php Miscellaneous cleanup of typos + change some return types for IDE helpers 2017-03-20 11:03:14 +01:00
class-wc-order-refund-data-store-cpt.php Only delete if the object has an ID 2017-05-30 14:44:28 +01:00
class-wc-payment-token-data-store.php Fixed typos. 2017-07-10 12:56:28 +07:00
class-wc-product-data-store-cpt.php Clarify logic 2017-08-01 13:21:23 -07:00
class-wc-product-grouped-data-store-cpt.php Changed version 2.7 to 3.0 2017-03-15 13:36:53 -03:00
class-wc-product-variable-data-store-cpt.php Unset variable prices on read. 2017-07-20 12:48:14 +01:00
class-wc-product-variation-data-store-cpt.php Fix rtrim for non - separators 2017-07-12 15:17:48 +01:00
class-wc-shipping-zone-data-store.php Sort by order + zone ID as a fallback in shipping zones 2017-07-19 10:16:50 +01:00