Skip to content

Commit

Permalink
fix toggle switch
Browse files Browse the repository at this point in the history
  • Loading branch information
vyskoczilova committed Dec 19, 2023
1 parent 87aa8e5 commit c04ac36
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion includes/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function woolab_icdic_icdic_general_settings($settings) {
$settings[] = array(
'title' => __( 'Toggle fields visibility', 'woolab-ic-dic' ),
'desc' => __( 'Enable toggle switch to show/hide input fields', 'woolab-ic-dic' ) . ( class_exists("FluidCheckout") ? ' <br><span style="color:#ca4a1f">' . __("This feature is not compatible with Fluid Checkout for WooCommerce.", 'woolab-ic-dic') . '</span>': ""),
'id' => 'woolab_icdic_toggle_swithch',
'id' => 'woolab_icdic_toggle_switch',
'default' => 'no',
'type' => 'checkbox',
'disabled' => class_exists("FluidCheckout") ? true : false,
Expand Down
4 changes: 4 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ Either post it on [GitHub](https://github.com/vyskoczilova/kybernaut-ic-dic) or

== Changelog ==

= 1.7.5 (2023-12-19) =

* Fix: Accidentaly broken toggle switch in 1.7.4

= 1.7.4 (2023-11-20) =

* Fix: Additional check - billing country and VAT country prefix must match for SK IC DPH.
Expand Down
6 changes: 3 additions & 3 deletions woolab-ic-dic.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: Kybernaut IC DIC
Plugin URI: https://kybernaut.cz/pluginy/kybernaut-ic-dic
Description: Adds Czech Company & VAT numbers (IČO & DIČ) to WooCommerce billing fields and verifies if data are correct.
Version: 1.7.4
Version: 1.7.5
Author: Karolína Vyskočilová
Author URI: https://kybernaut.cz
Text Domain: woolab-ic-dic
Expand All @@ -12,7 +12,7 @@
Domain Path: /languages
Donate link: https://paypal.me/KarolinaVyskocilova/
WC requires at least: 3.5.0
WC tested up to: 8.2.2
WC tested up to: 8.4.0
Copyright: © 2016-2023 Karolína Vyskočilová.
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Expand All @@ -29,7 +29,7 @@
define( 'WOOLAB_IC_DIC_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
define( 'WOOLAB_IC_DIC_ABSPATH', dirname( __FILE__ ) . '/' );
define( 'WOOLAB_IC_DIC_URL', plugin_dir_url( __FILE__ ) );
define( 'WOOLAB_IC_DIC_VERSION', '1.7.4' );
define( 'WOOLAB_IC_DIC_VERSION', '1.7.5' );

// Check if WooCommerce active
function woolab_icdic_init() {
Expand Down

0 comments on commit c04ac36

Please sign in to comment.