Corrected comment.

This commit is contained in:
Peter Fabian 2019-02-26 11:15:16 +01:00
parent 06118db3d5
commit 4e177d264d
1 changed files with 1 additions and 1 deletions

View File

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