add 'id' to WC_Abstract_Legacy_Product __isset

This commit is contained in:
Manos Psychogyiopoulos 2016-11-27 16:30:13 +02:00
parent 5f64f1bf0a
commit b10810824f
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ abstract class WC_Abstract_Legacy_Product extends WC_Data {
public function __isset( $key ) {
return
in_array( $key, array_merge( array(
'id',
'variation_id',
'variation_data',
'variation_has_stock',