Schema data out of date in review-meta removed ref #16018

This commit is contained in:
nishitlangaliya 2017-07-08 12:13:38 +05:30
parent 9460391078
commit 1e8e41ffb6
1 changed files with 2 additions and 2 deletions

View File

@ -30,13 +30,13 @@ if ( '0' === $comment->comment_approved ) { ?>
<?php } else { ?>
<p class="meta">
<strong class="woocommerce-review__author" itemprop="author"><?php comment_author(); ?></strong> <?php
<strong class="woocommerce-review__author"><?php comment_author(); ?></strong> <?php
if ( 'yes' === get_option( 'woocommerce_review_rating_verification_label' ) && $verified ) {
echo '<em class="woocommerce-review__verified verified">(' . esc_attr__( 'verified owner', 'woocommerce' ) . ')</em> ';
}
?><span class="woocommerce-review__dash">&ndash;</span> <time class="woocommerce-review__published-date" itemprop="datePublished" datetime="<?php echo get_comment_date( 'c' ); ?>"><?php echo get_comment_date( wc_date_format() ); ?></time>
?><span class="woocommerce-review__dash">&ndash;</span> <time class="woocommerce-review__published-date" datetime="<?php echo get_comment_date( 'c' ); ?>"><?php echo get_comment_date( wc_date_format() ); ?></time>
</p>
<?php }