Merge pull request #16267 from Valks/patch-1

Fix incorrect access level in class-wc-product-variation.php
This commit is contained in:
Mike Jolley 2017-07-27 08:31:13 +01:00 committed by GitHub
commit ad2e408a66
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class WC_Product_Variation extends WC_Product_Simple {
* Post type.
* @var string
*/
public $post_type = 'product_variation';
protected $post_type = 'product_variation';
/**
* Parent data.