Skip to content

Commit

Permalink
ready for release 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vyskoczilova committed Sep 5, 2019
1 parent cbcff8a commit 2b5bb54
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ Adds Czech Company & VAT numbers (IČO & DIČ) to WooCommerce billing fields and
Download here: https://wordpress.org/plugins/woolab-ic-dic/

## Unreleased changes
* Fix: Strip spaces from ICO, DIC, DIC DPH fields ([#8](https://github.com/vyskoczilova/kybernaut-ic-dic/issues/8))
* Fix: Validation of Slovak DIČ in Vies ([#9](https://github.com/vyskoczilova/kybernaut-ic-dic/issues/9))
* Fix: Trigger update_checkout JS when address loaded
* Performance: Don't validate IČO in ARES when the value has not been changed, called after 'donetyping'
* Maintenance: Update node_modules
none

## Filters

Expand Down
6 changes: 3 additions & 3 deletions includes/filters-actions.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function woolab_icdic_checkout_field_process() {

/**
* Remove white spaces
* @since 1.3.4
* @since 1.4.0
*/
$ico = preg_replace('/\s+/', '', $_POST['billing_ic']);

Expand Down Expand Up @@ -167,7 +167,7 @@ function woolab_icdic_checkout_field_process() {

/**
* Remove white spaces
* @since 1.3.4
* @since 1.4.0
*/

$dic = preg_replace('/\s+/', '', $_POST['billing_dic']);
Expand Down Expand Up @@ -209,7 +209,7 @@ function woolab_icdic_checkout_field_process() {

/**
* Remove white spaces
* @since 1.3.4
* @since 1.4.0
*/
$dic_dph = preg_replace('/\s+/', '', $_POST['billing_dic_dph']);

Expand Down
7 changes: 7 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,13 @@ Either post it on [GitHub](https://github.com/vyskoczilova/kybernaut-ic-dic) or

== Changelog ==

= 1.4.0 (2019-09-05) =
* Fix: Strip spaces from ICO, DIC, DIC DPH fields ([#8](https://github.com/vyskoczilova/kybernaut-ic-dic/issues/8))
* Fix: Validation of Slovak DIČ in Vies ([#9](https://github.com/vyskoczilova/kybernaut-ic-dic/issues/9))
* Fix: Trigger update_checkout JS when address loaded
* Performance: Don't validate IČO in ARES when the value has not been changed, called after 'donetyping'
* Maintenance: Update node_modules

= 1.3.3 (2018-11-18) =
* Compatibility with WC 3.5.1 which has "fixed" old ordering of checkout fields [#21763](https://github.com/woocommerce/woocommerce/pull/21763)

Expand Down
4 changes: 2 additions & 2 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.3.4
Version: 1.4.0
Author: Karolína Vyskočilová
Author URI: https://kybernaut.cz
Text Domain: woolab-ic-dic
Expand All @@ -27,7 +27,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.3.4' );
define( 'WOOLAB_IC_DIC_VERSION', '1.4.0' );

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

0 comments on commit 2b5bb54

Please sign in to comment.