WooCommerce Checkout Field Editor (Manager) Pro - Version 1.5.3

Version Description

  • Added WooCommerce 6.1.0 compatibility.
  • Removed the feedback banner.
Download this release

Release Info

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

Code changes from version 1.5.2 to 1.5.3

admin/class-thwcfd-admin.php CHANGED
@@ -230,6 +230,15 @@ class THWCFD_Admin {
230
  <?php
231
  }
232
 
 
 
 
 
 
 
 
 
 
233
  }
234
 
235
  endif;
230
  <?php
231
  }
232
 
233
+ public function update_dismissable_notice_status(){
234
+ $is_hidden = get_transient('thwcfd_hide_admin_notice');
235
+ if($is_hidden){
236
+ $data = array('1.5.2');
237
+ update_option('thwcfd_notice_status', $data, 'no');
238
+ delete_transient('thwcfd_hide_admin_notice');
239
+ }
240
+ }
241
+
242
  }
243
 
244
  endif;
checkout-form-designer.php CHANGED
@@ -3,13 +3,13 @@
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.5.2
7
  * Author URI: https://www.themehigh.com
8
  * Plugin URI: https://www.themehigh.com
9
  * Text Domain: woo-checkout-field-editor-pro
10
  * Domain Path: /languages
11
  * WC requires at least: 3.0.0
12
- * WC tested up to: 6.0.0
13
  */
14
 
15
  if(!defined( 'ABSPATH' )) exit;
@@ -25,7 +25,7 @@ if (!function_exists('is_woocommerce_active')){
25
  }
26
 
27
  if(is_woocommerce_active()) {
28
- define('THWCFD_VERSION', '1.5.2');
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.5.3
7
  * Author URI: https://www.themehigh.com
8
  * Plugin URI: https://www.themehigh.com
9
  * Text Domain: woo-checkout-field-editor-pro
10
  * Domain Path: /languages
11
  * WC requires at least: 3.0.0
12
+ * WC tested up to: 6.1.0
13
  */
14
 
15
  if(!defined( 'ABSPATH' )) exit;
25
  }
26
 
27
  if(is_woocommerce_active()) {
28
+ define('THWCFD_VERSION', '1.5.3');
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__ ));
includes/class-thwcfd.php CHANGED
@@ -71,8 +71,9 @@ class THWCFD {
71
  add_action('wp_ajax_hide_thwcfd_admin_notice', array($plugin_admin, 'hide_thwcfd_admin_notice'));
72
  add_action('wp_ajax_skip_thwcfd_admin_notice', array($plugin_admin, 'skip_thwcfd_admin_notice'));
73
 
74
- add_action('admin_notices', array($plugin_admin, 'dismissable_admin_notice'));
75
- add_action('admin_footer', array($plugin_admin, 'admin_notice_js_snippet'), 9999);
 
76
 
77
  $themehigh_plugins = new THWCFD_Admin_Settings_Themehigh_Plugins();
78
  add_action('wp_ajax_th_activate_plugin', array($themehigh_plugins, 'activate_themehigh_plugins'));
71
  add_action('wp_ajax_hide_thwcfd_admin_notice', array($plugin_admin, 'hide_thwcfd_admin_notice'));
72
  add_action('wp_ajax_skip_thwcfd_admin_notice', array($plugin_admin, 'skip_thwcfd_admin_notice'));
73
 
74
+ //add_action('admin_notices', array($plugin_admin, 'dismissable_admin_notice'));
75
+ //add_action('admin_footer', array($plugin_admin, 'admin_notice_js_snippet'), 9999);
76
+ add_action('admin_init', array($plugin_admin, 'update_dismissable_notice_status'));
77
 
78
  $themehigh_plugins = new THWCFD_Admin_Settings_Themehigh_Plugins();
79
  add_action('wp_ajax_th_activate_plugin', array($themehigh_plugins, 'activate_themehigh_plugins'));
readme.txt CHANGED
@@ -3,9 +3,9 @@ Contributors: ThemeHigh
3
  Donate link: https://themehigh.com/
4
  Tags: checkout field editor, woocommerce checkout field editor, checkout manager, woocommerce checkout manager, checkout field customizer, checkout form editor, checkout form customizer, checkout, WooCommerce checkout, checkout form designer, woocommerce checkout fields, woocommerce checkout addons
5
  Requires at least: 4.9
6
- Tested up to: 5.8
7
  Requires PHP: 5.6
8
- Stable tag: 1.5.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -258,6 +258,10 @@ Yes. There is a button 'reset to default fields' to go back to the WooCommerce d
258
  9. Locale override settings
259
 
260
  == Changelog ==
 
 
 
 
261
  = 1.5.2 =
262
  * Added WooCommerce 6.0.0 compatibility.
263
  * Added Number, Hidden, Multi-Select, Checkbox, Checkbox Group and Heading as new field types.
3
  Donate link: https://themehigh.com/
4
  Tags: checkout field editor, woocommerce checkout field editor, checkout manager, woocommerce checkout manager, checkout field customizer, checkout form editor, checkout form customizer, checkout, WooCommerce checkout, checkout form designer, woocommerce checkout fields, woocommerce checkout addons
5
  Requires at least: 4.9
6
+ Tested up to: 5.9
7
  Requires PHP: 5.6
8
+ Stable tag: 1.5.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
258
  9. Locale override settings
259
 
260
  == Changelog ==
261
+ = 1.5.3 =
262
+ * Added WooCommerce 6.1.0 compatibility.
263
+ * Removed the feedback banner.
264
+
265
  = 1.5.2 =
266
  * Added WooCommerce 6.0.0 compatibility.
267
  * Added Number, Hidden, Multi-Select, Checkbox, Checkbox Group and Heading as new field types.