Skip to content

Commit

Permalink
3.7.2 released.
Browse files Browse the repository at this point in the history
  • Loading branch information
fatihtoprak committed Mar 8, 2023
1 parent a9e7016 commit c521ce5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions core/library/Moka_Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ public function generateInstallmentsTableShortcode()
$return.= '<td>'.$cardSymbol.'</td>';
for ($i=1; $i < count(data_get($perStoredInstallment, 'rates'))+1 ; $i++) {
$return.='<td>';
$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.='</td>';
}
$return.='</tr>';
Expand Down
2 changes: 1 addition & 1 deletion core/library/Moka_Init.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit c521ce5

Please sign in to comment.