Merge pull request #14537 from woocommerce/fix/14503
Remove unused variable
This commit is contained in:
commit
5d3330fac2
|
@ -420,7 +420,6 @@ class WC_Post_Data {
|
||||||
if ( $variation_id ) {
|
if ( $variation_id ) {
|
||||||
$product_id = $variation_id;
|
$product_id = $variation_id;
|
||||||
}
|
}
|
||||||
$product = wc_get_product( $product_id );
|
|
||||||
$data_store = WC_Data_Store::load( 'customer-download' );
|
$data_store = WC_Data_Store::load( 'customer-download' );
|
||||||
|
|
||||||
if ( $downloads ) {
|
if ( $downloads ) {
|
||||||
|
|
Loading…
Reference in New Issue