Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
render Product Details block when it used along the Post Content block (
Browse files Browse the repository at this point in the history
  • Loading branch information
gigitux authored May 16, 2023
1 parent a1f836d commit 15c3c00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BlockTypes/ProductDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 15c3c00

Please sign in to comment.