From 4e177d264d05778c3d4d41efad1b53ed3cec63b8 Mon Sep 17 00:00:00 2001 From: Peter Fabian Date: Tue, 26 Feb 2019 11:15:16 +0100 Subject: [PATCH] Corrected comment. --- .../data-stores/class-wc-product-variation-data-store-cpt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/data-stores/class-wc-product-variation-data-store-cpt.php b/includes/data-stores/class-wc-product-variation-data-store-cpt.php index 974cb7eeb5b..d8cd489651a 100644 --- a/includes/data-stores/class-wc-product-variation-data-store-cpt.php +++ b/includes/data-stores/class-wc-product-variation-data-store-cpt.php @@ -87,7 +87,7 @@ class WC_Product_Variation_Data_Store_CPT extends WC_Product_Data_Store_CPT impl } /** - * If a variation has no excerpt, update here. Used when searching for variations by attribute names. + * If a variation has no excerpt, update here. Used when searching for variations by attribute values. */ if ( '' === $post_object->post_excerpt ) { $new_excerpt = wc_get_formatted_variation( $product, true, false );