Merge pull request #16129 from woocommerce/fix/16128

Fixed missing reviews in product_page shortcode with SKU
This commit is contained in:
Claudiu Lodromanean 2017-07-14 10:19:38 -07:00 committed by GitHub
commit 19d844fa53
1 changed files with 3 additions and 0 deletions

View File

@ -731,6 +731,9 @@ class WC_Shortcodes {
<?php
}
// For "is_single" to always make load comments_template() for reviews.
$single_product->is_single = true;
ob_start();
global $wp_query;