diff --git a/templates/single-product/review-meta.php b/templates/single-product/review-meta.php index e84269bd8be..8e626fb78df 100644 --- a/templates/single-product/review-meta.php +++ b/templates/single-product/review-meta.php @@ -11,35 +11,35 @@ * the readme will list any important changes. * * @see https://docs.woocommerce.com/document/template-structure/ - * @author WooThemes * @package WooCommerce/Templates * @version 3.4.0 */ -if ( ! defined( 'ABSPATH' ) ) { - exit; // Exit if accessed directly. -} +defined( 'ABSPATH' ) || exit; global $comment; $verified = wc_review_is_from_verified_owner( $comment->comment_ID ); if ( '0' === $comment->comment_approved ) { ?> -
+ -