Update class-wc-product-variable.php
Fix the typo on line 416 according to Issue #28066
This commit is contained in:
parent
3f61afe533
commit
815fd01a98
|
@ -413,7 +413,7 @@ class WC_Product_Variable extends WC_Product {
|
|||
* Sets an array of children for the product.
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @param array $children Childre products.
|
||||
* @param array $children Children products.
|
||||
*/
|
||||
public function set_children( $children ) {
|
||||
$this->children = array_filter( wp_parse_id_list( (array) $children ) );
|
||||
|
|
Loading…
Reference in New Issue