woocommerce/includes/tracks/events
vedanshujain 6ab03e6acd Return early if post status is `auto-draft` to prevent fatal.
While creating an order, if we remove an item after adding, `pre_post_update` hook gets called. Since the order is not created yet, `$order->get_date_created()` will be null, and this will cause a fatal in the event tracker which checks for and tracks edit in order created date.

We now return early when order status is `auto-draft` to prevent these kind of errors.
2019-07-17 00:21:18 +05:30
..
class-wc-admin-setup-wizard-tracking.php Merge pull request #24056 from woocommerce/fix/obw-tracks-events 2019-07-11 10:00:22 -03:00
class-wc-coupons-tracking.php Pass in select id 2019-07-08 11:41:52 +12:00
class-wc-extensions-tracking.php Refactor Tracks classes to remove singletons and static methods. (#22930) 2019-03-04 17:30:01 -07:00
class-wc-importer-tracking.php Refactor Tracks classes to remove singletons and static methods. (#22930) 2019-03-04 17:30:01 -07:00
class-wc-orders-tracking.php Return early if post status is `auto-draft` to prevent fatal. 2019-07-17 00:21:18 +05:30
class-wc-products-tracking.php Tracks: various fixes 2019-04-08 15:58:03 +12:00
class-wc-settings-tracking.php Refactor Tracks classes to remove singletons and static methods. (#22930) 2019-03-04 17:30:01 -07:00
class-wc-status-tracking.php Tracks: Status page events 2019-04-02 16:51:48 +13:00