Coding standard check fixes

This commit is contained in:
Andrej Mernik 2019-11-21 11:02:50 +01:00 committed by GitHub
parent 9aa8f5f5b3
commit c40c626886
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -26,8 +26,8 @@ if ( $related_products ) : ?>
<?php
$heading = apply_filters( 'woocommerce_product_related_products_heading', __( 'Related products', 'woocommerce' ) );
if ( $heading ) :
?>
if ( $heading ) :
?>
<h2><?php echo esc_html( $heading ); ?></h2>
<?php endif; ?>
@ -41,7 +41,7 @@ if ( $related_products ) : ?>
setup_postdata( $GLOBALS['post'] =& $post_object );
wc_get_template_part( 'content', 'product' );
?>
?>
<?php endforeach; ?>
@ -49,7 +49,7 @@ if ( $related_products ) : ?>
</section>
<?php
<?php
endif;
wp_reset_postdata();