Update class-wc-product-variable.php

Fix the typo on line 416 according to Issue  #28066
This commit is contained in:
Nicholas Macedo 2020-10-22 20:37:36 -04:00 committed by GitHub
parent 3f61afe533
commit 815fd01a98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) );