woocommerce/plugins
Vedanshu Jain 3d2b33ca09
Avoid reading items from DB of a order whose ID is zero (#46161)
* Add unit test simulating order mix up when order ID is zero.

* Better tests.

* Dont try reading from DB when order is zero to prevent mixups.

* PHPCS fixes and changelog.

* Syntax sugar

Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>

---------

Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2024-04-04 12:52:20 +05:30
..
woo-ai [Woo AI] Add JSON response format (#46137) 2024-04-03 21:37:39 +03:00
woocommerce Avoid reading items from DB of a order whose ID is zero (#46161) 2024-04-04 12:52:20 +05:30
woocommerce-admin dev: disable xstate inspector in prod build (#46109) 2024-04-03 13:53:19 +08:00
woocommerce-beta-tester Update @wordpress/env to 9.0.7 (#46177) 2024-04-03 09:05:59 -07:00
woocommerce-blocks Add vendor bundling of blocks frontend bundle to improve cart/checkout performance (#45859) 2024-04-04 15:31:02 +13:00