Make $customer_id public again (https://github.com/woocommerce/woocommerce-admin/pull/8371)
* Make $customer_id public -- see issue 8369. We have a backward compatibility issue
This commit is contained in:
parent
e652b0b93f
commit
5338ebf04a
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue