Prevents the Undefined property error when updating the post meta for a given coupon

This commit is contained in:
Patricia Hillebrandt 2020-02-23 14:07:18 +01:00
parent bfac625cdc
commit bd53e2eb60
1 changed files with 5 additions and 0 deletions

View File

@ -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.
*