From c521ce560800aeb7a95fae34b7838ed808c58cf6 Mon Sep 17 00:00:00 2001 From: Fatih Toprak Date: Wed, 8 Mar 2023 14:25:07 +0300 Subject: [PATCH] 3.7.2 released. --- core/library/Moka_Core.php | 3 +-- core/library/Moka_Init.php | 2 +- index.php | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/core/library/Moka_Core.php b/core/library/Moka_Core.php index a918c2b..31b0140 100644 --- a/core/library/Moka_Core.php +++ b/core/library/Moka_Core.php @@ -287,8 +287,7 @@ public function generateInstallmentsTableShortcode() $return.= ''.$cardSymbol.''; for ($i=1; $i < count(data_get($perStoredInstallment, 'rates'))+1 ; $i++) { $return.=''; - $return.=data_get($perStoredInstallment, 'rates')[$i]['value'] != 0 ? - data_get($perStoredInstallment, 'rates')[$i]['value'].' '.get_woocommerce_currency() : '-'; + $return.=data_get($perStoredInstallment, 'rates')[$i]['value'] > 0 ? '% '.data_get($perStoredInstallment, 'rates')[$i]['value'] : '-'; $return.=''; } $return.=''; diff --git a/core/library/Moka_Init.php b/core/library/Moka_Init.php index bff14c2..64bd252 100644 --- a/core/library/Moka_Init.php +++ b/core/library/Moka_Init.php @@ -3,7 +3,7 @@ exit; } -define('OPTIMISTHUB_MOKA_PAY_VERSION', '3.7.1'); +define('OPTIMISTHUB_MOKA_PAY_VERSION', '3.7.2'); global $mokaVersion; $mokaVersion = OPTIMISTHUB_MOKA_PAY_VERSION; diff --git a/index.php b/index.php index 011d309..d8746f2 100644 --- a/index.php +++ b/index.php @@ -3,7 +3,7 @@ * Plugin Name: Moka Payment Gateway for WooCommerce * Plugin URI: https://github.com/optimisthub/moka-woocommerce * Description: Moka Payment gateway for woocommerce - * Version: 3.7.1 + * Version: 3.7.2 * Author: Optimist Hub * Author URI: https://optimisthub.com?ref=mokaPayment * Domain Path: /languages/