Prevents the Undefined property error when updating the post meta for a given coupon
This commit is contained in:
parent
bfac625cdc
commit
bd53e2eb60
|
@ -54,6 +54,11 @@ class WC_Coupon_Data_Store_CPT extends WC_Data_Store_WP implements WC_Coupon_Dat
|
|||
'_edit_last',
|
||||
);
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
protected $updated_props = array();
|
||||
|
||||
/**
|
||||
* Method to create a new coupon in the database.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue