From cec00e934e79ed41ca8ededcfe26002f5e18e802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=C3=ADna=20Vysko=C4=8Dilov=C3=A1?= Date: Wed, 3 Jan 2024 16:24:26 +0100 Subject: [PATCH] =?UTF-8?q?defaultn=C4=9B=20vypnut=C3=BD=20VAT=20exempt=20?= =?UTF-8?q?checkbox=20(#66)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- includes/settings.php | 2 +- readme.txt | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/includes/settings.php b/includes/settings.php index 9726b3f..7924dc2 100644 --- a/includes/settings.php +++ b/includes/settings.php @@ -17,7 +17,7 @@ function woolab_icdic_icdic_general_settings($settings) { $vat_desc = __( 'Enable VAT exemption for valid EU VAT numbers', 'woolab-ic-dic' ); if ( wc_tax_enabled() ) { - $vat_check = 'yes'; + $vat_check = 'no'; } else { $vat_desc = $vat_desc . '
' . __( 'To enable this feature, turn on taxes in your store.', 'woolab-ic-dic' ) . ''; $vat_check = 'no'; diff --git a/readme.txt b/readme.txt index ed588b1..adeaf62 100644 --- a/readme.txt +++ b/readme.txt @@ -129,6 +129,10 @@ Either post it on [GitHub](https://github.com/vyskoczilova/kybernaut-ic-dic) or == Changelog == += 1.8.0 () = + +* Fix: VAT exempt checkbox default to off. + = 1.7.5 (2023-12-19) = * Fix: Accidentaly broken toggle switch in 1.7.4.