Commit 2f0088b
authored
fix(wc): log correct order ID, not WC_Order object (#1929)
get_order() returns a WC_Order object where an int ID was
expected, triggering a PHP warning on every WooCommerce order
status change. Use get_order_id() instead, as the other callbacks
in this file already do.
Fixes #1928.1 parent c42dc67 commit 2f0088b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
495 | 495 | | |
496 | 496 | | |
497 | 497 | | |
498 | | - | |
| 498 | + | |
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
| |||
0 commit comments