This commit is contained in:
Mike Jolley 2017-01-11 12:37:03 +00:00
parent 9706104128
commit de11be2b6c
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ class WC_Product_Variable_Data_Store_CPT extends WC_Product_Data_Store_CPT imple
}
if ( $changed ) {
$children = $this->read_children( $product, true );
$product->set_children( $children['all'] );
$product->set_children( $children['all'] );
$product->set_visible_children( $children['visible'] );
}
}