WooCommerce Checkout Manager - Version 6.1.7

Version Description

Download this release

Release Info

Developer quadlayers
Plugin Icon 128x128 WooCommerce Checkout Manager
Version 6.1.7
Comparing to
See all releases

Code changes from version 6.1.6 to 6.1.7

includes/view/frontend/class-wooccm-fields-register.php CHANGED
@@ -132,7 +132,12 @@ class WOOCCM_Fields_Register {
132
  return $fields;
133
  }
134
  $wooccm_fields = WOOCCM()->billing->get_fields();
135
- return array_merge( $fields, $wooccm_fields );
 
 
 
 
 
136
  }
137
 
138
  public function add_account_shipping_fields_beta( $fields ) {
@@ -140,7 +145,12 @@ class WOOCCM_Fields_Register {
140
  return $fields;
141
  }
142
  $wooccm_fields = WOOCCM()->shipping->get_fields();
143
- return array_merge( $fields, $wooccm_fields );
 
 
 
 
 
144
  }
145
 
146
  public function add_keys( $fields ) {
132
  return $fields;
133
  }
134
  $wooccm_fields = WOOCCM()->billing->get_fields();
135
+ return array_filter(
136
+ array_merge( $fields, $wooccm_fields ),
137
+ function ( $field ) {
138
+ return ( empty( $field['disabled'] ) );
139
+ }
140
+ );
141
  }
142
 
143
  public function add_account_shipping_fields_beta( $fields ) {
145
  return $fields;
146
  }
147
  $wooccm_fields = WOOCCM()->shipping->get_fields();
148
+ return array_filter(
149
+ array_merge( $fields, $wooccm_fields ),
150
+ function ( $field ) {
151
+ return ( empty( $field['disabled'] ) );
152
+ }
153
+ );
154
  }
155
 
156
  public function add_keys( $fields ) {
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: checkout field editor, woocommerce checkout field editor, checkout manager
5
  Requires at least: 4.9
6
  Tested up to: 6.0.1
7
  Requires PHP: 5.6
8
- Stable tag: 6.1.6
9
  WC requires at least: 3.1.0
10
  WC tested up to: 6.7
11
  License: GPLv3
@@ -149,6 +149,9 @@ Your Order data can be reviewed in each order within the default WooCommerce Ord
149
 
150
  == Changelog ==
151
 
 
 
 
152
  = 6.1.6
153
  * Fix. WooCommerce Account fields
154
 
5
  Requires at least: 4.9
6
  Tested up to: 6.0.1
7
  Requires PHP: 5.6
8
+ Stable tag: 6.1.7
9
  WC requires at least: 3.1.0
10
  WC tested up to: 6.7
11
  License: GPLv3
149
 
150
  == Changelog ==
151
 
152
+ = 6.1.7
153
+ * Fix. WooCommerce Account fields remove
154
+
155
  = 6.1.6
156
  * Fix. WooCommerce Account fields
157
 
woocommerce-checkout-manager.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Checkout Fields Manager for WooCommerce
5
  * Plugin URI: https://quadlayers.com/portfolio/woocommerce-checkout-manager/
6
  * Description: Manage and customize WooCommerce Checkout fields (Add, Edit, Delete or re-order fields).
7
- * Version: 6.1.6
8
  * Author: QuadLayers
9
  * Author URI: https://quadlayers.com
10
  * License: GPLv3
@@ -20,7 +20,7 @@ if ( ! defined( 'WOOCCM_PLUGIN_NAME' ) ) {
20
  define( 'WOOCCM_PLUGIN_NAME', 'Checkout Fields Manager for WooCommerce' );
21
  }
22
  if ( ! defined( 'WOOCCM_PLUGIN_VERSION' ) ) {
23
- define( 'WOOCCM_PLUGIN_VERSION', '6.1.6' );
24
  }
25
  if ( ! defined( 'WOOCCM_PLUGIN_FILE' ) ) {
26
  define( 'WOOCCM_PLUGIN_FILE', __FILE__ );
4
  * Plugin Name: Checkout Fields Manager for WooCommerce
5
  * Plugin URI: https://quadlayers.com/portfolio/woocommerce-checkout-manager/
6
  * Description: Manage and customize WooCommerce Checkout fields (Add, Edit, Delete or re-order fields).
7
+ * Version: 6.1.7
8
  * Author: QuadLayers
9
  * Author URI: https://quadlayers.com
10
  * License: GPLv3
20
  define( 'WOOCCM_PLUGIN_NAME', 'Checkout Fields Manager for WooCommerce' );
21
  }
22
  if ( ! defined( 'WOOCCM_PLUGIN_VERSION' ) ) {
23
+ define( 'WOOCCM_PLUGIN_VERSION', '6.1.7' );
24
  }
25
  if ( ! defined( 'WOOCCM_PLUGIN_FILE' ) ) {
26
  define( 'WOOCCM_PLUGIN_FILE', __FILE__ );