From a8834ee84cebeccf508e03f374062ec3746c5105 Mon Sep 17 00:00:00 2001 From: DediData <33499600+Dedi-Data@users.noreply.github.com> Date: Wed, 9 Dec 2020 13:21:54 +0330 Subject: [PATCH] Update single-product-reviews.php fix for RTL direction --- templates/single-product-reviews.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/single-product-reviews.php b/templates/single-product-reviews.php index 995a11ea348..4d6f12e5938 100644 --- a/templates/single-product-reviews.php +++ b/templates/single-product-reviews.php @@ -51,8 +51,8 @@ if ( ! comments_open() ) { apply_filters( 'woocommerce_comment_pagination_args', array( - 'prev_text' => '←', - 'next_text' => '→', + 'prev_text' => is_rtl() ? '→' : '←', + 'next_text' => is_rtl() ? '←' : '→', 'type' => 'list', ) )