WooCommerce Checkout Field Editor (Manager) Pro - Version 1.7.1

Version Description

  • Minor bug fixes.
Download this release

Release Info

Developer ThemeHigh
Plugin Icon 128x128 WooCommerce Checkout Field Editor (Manager) Pro
Version 1.7.1
Comparing to
See all releases

Code changes from version 1.7.0 to 1.7.1

admin/class-thwcfd-admin.php CHANGED
@@ -175,7 +175,7 @@ class THWCFD_Admin {
175
  $now = time();
176
  update_option('thwcfd_since', $now, 'no' );
177
  }
178
-
179
  $render_time = apply_filters('thwcfd_show_review_banner_render_time' , 7 * DAY_IN_SECONDS);
180
  $render_time = $thwcfd_since + $render_time;
181
  if($now > $render_time ){
@@ -188,6 +188,14 @@ class THWCFD_Admin {
188
 
189
  ?>
190
  <style>
 
 
 
 
 
 
 
 
191
  .thwcfd-review-wrapper {
192
  padding: 15px 28px 26px 10px !important;
193
  margin-top: 35px;
@@ -200,13 +208,14 @@ class THWCFD_Admin {
200
  }
201
  .thwcfd-review-content p {
202
  padding-bottom: 14px;
 
203
  }
204
  .thwcfd-notice-action{
205
  padding: 8px 18px 8px 18px;
206
- background: #fff;
207
- color: var(--primary-bg-color);
208
- border-radius: 5px;
209
- border: 1px solid var(--primary-bg-color);
210
  }
211
  .thwcfd-notice-action.thwcfd-yes {
212
  background-color: #2271b1;
@@ -228,8 +237,9 @@ class THWCFD_Admin {
228
  }
229
  .thwcfd-notice-action {
230
  background-repeat: no-repeat;
231
- padding-left: 40px;
232
- background-position: 18px 8px;
 
233
  }
234
  .thwcfd-yes{
235
  background-image: url(<?php echo THWCFD_URL; ?>admin/assets/css/tick.svg);
175
  $now = time();
176
  update_option('thwcfd_since', $now, 'no' );
177
  }
178
+ $thwcfd_since = $thwcfd_since ? $thwcfd_since : $now;
179
  $render_time = apply_filters('thwcfd_show_review_banner_render_time' , 7 * DAY_IN_SECONDS);
180
  $render_time = $thwcfd_since + $render_time;
181
  if($now > $render_time ){
188
 
189
  ?>
190
  <style>
191
+ .thwvsf-review-wrapper {
192
+ padding: 15px 28px 26px 10px !important;
193
+ margin-top: 35px;
194
+ }
195
+
196
+ #thwcfd_review_request_notice{
197
+ margin-bottom: 20px;
198
+ }
199
  .thwcfd-review-wrapper {
200
  padding: 15px 28px 26px 10px !important;
201
  margin-top: 35px;
208
  }
209
  .thwcfd-review-content p {
210
  padding-bottom: 14px;
211
+ line-height: 1.4;
212
  }
213
  .thwcfd-notice-action{
214
  padding: 8px 18px 8px 18px;
215
+ background: #fff;
216
+ color: #007cba;
217
+ border-radius: 5px;
218
+ border: 1px solid #007cba;
219
  }
220
  .thwcfd-notice-action.thwcfd-yes {
221
  background-color: #2271b1;
237
  }
238
  .thwcfd-notice-action {
239
  background-repeat: no-repeat;
240
+ padding-left: 40px;
241
+ background-position: 18px 8px;
242
+ cursor: pointer;
243
  }
244
  .thwcfd-yes{
245
  background-image: url(<?php echo THWCFD_URL; ?>admin/assets/css/tick.svg);
checkout-form-designer.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Checkout Field Editor for WooCommerce
4
  * Description: Customize WooCommerce checkout fields(Add, Edit, Delete and re-arrange fields).
5
  * Author: ThemeHigh
6
- * Version: 1.7.0
7
  * Author URI: https://www.themehigh.com
8
  * Plugin URI: https://www.themehigh.com
9
  * Text Domain: woo-checkout-field-editor-pro
@@ -25,7 +25,7 @@ if (!function_exists('is_woocommerce_active')){
25
  }
26
 
27
  if(is_woocommerce_active()) {
28
- define('THWCFD_VERSION', '1.7.0');
29
  !defined('THWCFD_BASE_NAME') && define('THWCFD_BASE_NAME', plugin_basename( __FILE__ ));
30
  !defined('THWCFD_PATH') && define('THWCFD_PATH', plugin_dir_path( __FILE__ ));
31
  !defined('THWCFD_URL') && define('THWCFD_URL', plugins_url( '/', __FILE__ ));
3
  * Plugin Name: Checkout Field Editor for WooCommerce
4
  * Description: Customize WooCommerce checkout fields(Add, Edit, Delete and re-arrange fields).
5
  * Author: ThemeHigh
6
+ * Version: 1.7.1
7
  * Author URI: https://www.themehigh.com
8
  * Plugin URI: https://www.themehigh.com
9
  * Text Domain: woo-checkout-field-editor-pro
25
  }
26
 
27
  if(is_woocommerce_active()) {
28
+ define('THWCFD_VERSION', '1.7.1');
29
  !defined('THWCFD_BASE_NAME') && define('THWCFD_BASE_NAME', plugin_basename( __FILE__ ));
30
  !defined('THWCFD_PATH') && define('THWCFD_PATH', plugin_dir_path( __FILE__ ));
31
  !defined('THWCFD_URL') && define('THWCFD_URL', plugins_url( '/', __FILE__ ));
public/class-thwcfd-public-checkout.php CHANGED
@@ -637,7 +637,7 @@ class THWCFD_Public_Checkout {
637
  case 'checkbox' :
638
 
639
  $field = '';
640
- if($args['checked']){
641
  $value = 1;
642
  }else{
643
  $value = 0;
637
  case 'checkbox' :
638
 
639
  $field = '';
640
+ if(isset($args['checked']) && $args['checked']){
641
  $value = 1;
642
  }else{
643
  $value = 0;
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
7
  Requires PHP: 5.6
8
- Stable tag: 1.7.0
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -272,6 +272,9 @@ Yes. There is a button 'reset to default fields' to go back to the WooCommerce d
272
  9. Locale override settings
273
 
274
  == Changelog ==
 
 
 
275
  = 1.7.0 =
276
  * Added WooCommerce 6.7 compatibility
277
  * Added default value property for checkbox field.
5
  Requires at least: 4.9
6
  Tested up to: 6.0
7
  Requires PHP: 5.6
8
+ Stable tag: 1.7.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
272
  9. Locale override settings
273
 
274
  == Changelog ==
275
+ = 1.7.1 =
276
+ * Minor bug fixes.
277
+
278
  = 1.7.0 =
279
  * Added WooCommerce 6.7 compatibility
280
  * Added default value property for checkbox field.