From 15c3c0053a37bcbd686e6a19637964d16a2c355b Mon Sep 17 00:00:00 2001 From: Luigi Teschio Date: Tue, 16 May 2023 11:31:13 +0200 Subject: [PATCH] render Product Details block when it used along the Post Content block (#9479) --- src/BlockTypes/ProductDetails.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BlockTypes/ProductDetails.php b/src/BlockTypes/ProductDetails.php index 8c269404e89..972340ced71 100644 --- a/src/BlockTypes/ProductDetails.php +++ b/src/BlockTypes/ProductDetails.php @@ -54,7 +54,7 @@ protected function render( $attributes, $content, $block ) { */ protected function render_tabs() { ob_start(); - + rewind_posts(); while ( have_posts() ) { the_post(); woocommerce_output_product_data_tabs();