render Product Details block when it used along the Post Content block (https://github.com/woocommerce/woocommerce-blocks/pull/9479)

This commit is contained in:
Luigi Teschio 2023-05-16 11:31:13 +02:00 committed by GitHub
parent 14f87be044
commit 150cde7d56
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ class ProductDetails extends AbstractBlock {
*/
protected function render_tabs() {
ob_start();
rewind_posts();
while ( have_posts() ) {
the_post();
woocommerce_output_product_data_tabs();