diff --git a/includes/wc-template-functions.php b/includes/wc-template-functions.php index 4eb2dd52e2a..1043e35da31 100644 --- a/includes/wc-template-functions.php +++ b/includes/wc-template-functions.php @@ -1022,7 +1022,7 @@ if ( ! function_exists( 'woocommerce_default_product_tabs' ) ) { // Reviews tab - shows comments if ( comments_open() ) { $tabs['reviews'] = array( - 'title' => sprintf( __( 'Reviews (%d)', 'woocommerce' ), get_comments_number( $post->ID ) ), + 'title' => sprintf( __( 'Reviews (%d)', 'woocommerce' ), $product->get_rating_count() ), 'priority' => 30, 'callback' => 'comments_template' );