diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 905d84a..a77b71e 100755 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/Admin/GiveMultiCurrencyAdmin.php b/Admin/GiveMultiCurrencyAdmin.php index a3c5698..377eb6a 100755 --- a/Admin/GiveMultiCurrencyAdmin.php +++ b/Admin/GiveMultiCurrencyAdmin.php @@ -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', ), @@ -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') ), ), ), @@ -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') ), ); } @@ -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') ), ); } diff --git a/CHANGELOG.md b/CHANGELOG.md index 63505f1..4ac86ce 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/give-currency.php b/give-currency.php index a3c939a..1b81c75 100755 --- a/give-currency.php +++ b/give-currency.php @@ -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 @@ -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.