white space

This commit is contained in:
pjv 2020-10-13 13:59:53 -05:00
parent 98b0fcbdff
commit 7909c3ca7c
1 changed files with 1 additions and 1 deletions

View File

@ -570,7 +570,7 @@ class WC_Product_Data_Store_CPT extends WC_Data_Store_WP implements WC_Object_Da
break;
case 'stock_quantity':
// Fire actions to let 3rd parties know the stock is about to be changed.
if ( $product->is_type('variation' ) ) {
if ( $product->is_type( 'variation' ) ) {
do_action( 'woocommerce_variation_before_set_stock', $product );
} else {
do_action( 'woocommerce_product_before_set_stock', $product );