From 87082734019686a6f33e7ca834665d964157563b Mon Sep 17 00:00:00 2001 From: James Koster Date: Fri, 5 Aug 2016 14:41:02 +0100 Subject: [PATCH] review meta template tidy up. closes #11417 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Adds class for ‘comment awaiting approval’ message * Replaces ‘comment’ for ‘review’ in aforementioned message * Adds class for author * Adds class for review date * Adds new-style class for verification notice * Wraps dash in a span with new-style class * Removes unnecessary colon --- templates/single-product/review-meta.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/single-product/review-meta.php b/templates/single-product/review-meta.php index 71b68ea29af..77d8f62614b 100644 --- a/templates/single-product/review-meta.php +++ b/templates/single-product/review-meta.php @@ -13,11 +13,11 @@ * @see https://docs.woocommerce.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates - * @version 2.6.0 + * @version 2.7.0 */ if ( ! defined( 'ABSPATH' ) ) { - exit; // Exit if accessed directly + exit; // Exit if accessed directly. } global $comment; @@ -25,18 +25,18 @@ $verified = wc_review_is_from_verified_owner( $comment->comment_ID ); if ( '0' === $comment->comment_approved ) { ?> -

+

- (' . esc_attr__( 'verified owner', 'woocommerce' ) . ') '; + echo '(' . esc_attr__( 'verified owner', 'woocommerce' ) . ') '; } - ?>– : + ?>