Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
uses: mathieudutour/github-tag-action@v6.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
custom_tag: '3.0.1'
custom_tag: '3.0.3'

# Generate new release
- name: Generate new Release
Expand Down
14 changes: 10 additions & 4 deletions Admin/GiveMultiCurrencyAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ public function setup_setting($settings) {
'EUR' => __('Euro (€)', 'give'),
'JPY' => __('Iene (¥)', 'give'),
'GBP' => __('Libra esterlina (£)', 'give'),
'SAR' => __('Rial Saudita (ر.س)', 'give')
'SAR' => __('Rial Saudita (ر.س)', 'give'),
'MXN' => __('Peso mexicano ($)', 'give'),
'CHF' => __('Franco Suíço (CHF)', 'give')
),
'default' => 'BRL',
),
Expand All @@ -78,7 +80,9 @@ public function setup_setting($settings) {
'EUR' => __('Euro (€)', 'give'),
'JPY' => __('Iene (¥)', 'give'),
'GBP' => __('Libra esterlina (£)', 'give'),
'SAR' => __('Rial Saudita (ر.س)', 'give')
'SAR' => __('Rial Saudita (ر.س)', 'give'),
'MXN' => __('Peso mexicano ($)', 'give'),
'CHF' => __('Franco Suíço (CHF)', 'give')
),
),
),
Expand Down Expand Up @@ -121,7 +125,8 @@ public function lkn_give_multi_currency_add_setting_into_existing_tab($settings)
'jpy' => __('Iene (¥)', 'give'),
'gbp' => __('Libra esterlina (£)', 'give'),
'sar' => __('Rial Saudita (ر.س)', 'give'),
'mxn' => __('Peso mexicano ($)', 'give')
'mxn' => __('Peso mexicano ($)', 'give'),
'chf' => __('Franco Suíço (CHF)', 'give')
),
);
}
Expand All @@ -141,7 +146,8 @@ public function lkn_give_multi_currency_add_setting_into_existing_tab($settings)
'JPY' => __('Iene (¥)', 'give'),
'GBP' => __('Libra esterlina (£)', 'give'),
'SAR' => __('Rial Saudita (ر.س)', 'give'),
'MXN' => __('Peso mexicano ($)', 'give')
'MXN' => __('Peso mexicano ($)', 'give'),
'CHF' => __('Franco Suíço (CHF)', 'give')
),
);
}
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 3.0.3 - 29/11/2024
* Add new currency Swiss Franc(CHF)

# 3.0.2 - 26/09/2024
* Adição de tratamento para valores com decimal.

Expand Down
4 changes: 2 additions & 2 deletions give-currency.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Give - Multi-Moedas
* Plugin URI: https://www.linknacional.com.br/wordpress/givewp/multimoeda/
* Description: Adiciona opções de escolha de moedas aos formulários do GiveWP.
* Version: 3.0.2
* Version: 3.0.3
* Author: Link Nacional
* Requires Plugins: give
* Author URI: https://www.linknacional.com.br
Expand All @@ -22,7 +22,7 @@
use Lkn\GiveMultimoedas\Includes\GiveMultiCurrency;

if ( ! defined('GIVE_MULTI_CURRENCY_VERSION')) {
define('GIVE_MULTI_CURRENCY_VERSION', '3.0.2');
define('GIVE_MULTI_CURRENCY_VERSION', '3.0.3');
}

// Set it to latest.
Expand Down
Loading