Skip to content

Commit dbf2fd6

Browse files
committed
Update Block.php
1 parent baa752a commit dbf2fd6

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/Blocks/ProductRating/Block.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ class Block extends Blocks\Base {
4343
public function render( $attributes, $content, $block ) {
4444
// Return the content when not on a single product page
4545
// and no `productId` is provided in the block attributes.
46-
error_log( 'Rendering Product Rating Block with attributes: ' . print_r( $attributes, true ) );
4746
if ( ! is_singular( 'product' ) && empty( $attributes['product']['id'] ?? '' ) ) {
4847
return $content;
4948
}

0 commit comments

Comments
 (0)