* Make $customer_id public -- see issue 8369. We have a backward compatibility issue
This commit is contained in:
Moon 2022-02-23 16:31:41 -08:00 committed by GitHub
parent e652b0b93f
commit 5338ebf04a
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ class Order extends \WC_Order {
*
* @var int
*/
protected $customer_id = null;
public $customer_id = null;
/**
* Get only core class data in array format.

View File

@ -25,7 +25,7 @@ class OrderRefund extends \WC_Order_Refund {
*
* @var int
*/
protected $customer_id = null;
public $customer_id = null;
/**
* Add filter(s) required to hook this class to substitute WC_Order_Refund.