Merge pull request #12474 from franticpsyx/wc-27-legacy-product-class-magic-get

[2.7] Add 'id' to WC_Abstract_Legacy_Product::__isset
This commit is contained in:
Claudio Sanches 2016-11-28 04:07:22 -02:00 committed by GitHub
commit 9a983261df
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',