Version Description
- Fixed the issue of not showing custom fields in resend emails.
- Fixed the issue of not loading settings page scripts & styles when translated to Hebrew."
Download this release
Release Info
Developer | ThemeHigh |
Plugin | WooCommerce Checkout Field Editor (Manager) Pro |
Version | 1.3.8 |
Comparing to | |
See all releases |
Code changes from version 1.3.7 to 1.3.8
- checkout-form-designer.php +2 -2
- classes/class-thwcfd-settings.php +5 -2
- classes/class-thwcfd.php +2 -2
- readme.txt +5 -1
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.3.
|
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.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__ ));
|
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.3.8
|
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.3.8');
|
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__ ));
|
classes/class-thwcfd-settings.php
CHANGED
@@ -16,7 +16,10 @@ class THWCFD_Settings {
|
|
16 |
}
|
17 |
|
18 |
public function enqueue_styles_and_scripts($hook) {
|
19 |
-
if(strpos($hook, 'woocommerce_page_checkout_form_designer') === false) {
|
|
|
|
|
|
|
20 |
return;
|
21 |
}
|
22 |
|
@@ -79,7 +82,7 @@ class THWCFD_Settings {
|
|
79 |
</td>
|
80 |
<td>
|
81 |
<a target="_blank" href="https://www.themehigh.com/product/woocommerce-checkout-field-editor-pro/">
|
82 |
-
<img src="<?php echo THWCFD_ASSETS_URL
|
83 |
</a>
|
84 |
</td>
|
85 |
</tr>
|
16 |
}
|
17 |
|
18 |
public function enqueue_styles_and_scripts($hook) {
|
19 |
+
/*if(strpos($hook, 'woocommerce_page_checkout_form_designer') === false) {
|
20 |
+
return;
|
21 |
+
}*/
|
22 |
+
if(strpos($hook, 'page_checkout_form_designer') === false) {
|
23 |
return;
|
24 |
}
|
25 |
|
82 |
</td>
|
83 |
<td>
|
84 |
<a target="_blank" href="https://www.themehigh.com/product/woocommerce-checkout-field-editor-pro/">
|
85 |
+
<img src="<?php echo THWCFD_ASSETS_URL ?>css/upgrade-btn.png" />
|
86 |
</a>
|
87 |
</td>
|
88 |
</tr>
|
classes/class-thwcfd.php
CHANGED
@@ -58,11 +58,11 @@ class THWCFD {
|
|
58 |
}
|
59 |
|
60 |
private function define_public_hooks() {
|
61 |
-
if(!is_admin() || (defined( 'DOING_AJAX' ) && DOING_AJAX)){
|
62 |
$plugin_checkout = new THWCFD_Checkout();
|
63 |
add_action('wp_enqueue_scripts', array($plugin_checkout, 'enqueue_styles_and_scripts'));
|
64 |
add_action('after_setup_theme', array($plugin_checkout, 'define_public_hooks'));
|
65 |
-
}
|
66 |
}
|
67 |
}
|
68 |
|
58 |
}
|
59 |
|
60 |
private function define_public_hooks() {
|
61 |
+
//if(!is_admin() || (defined( 'DOING_AJAX' ) && DOING_AJAX)){
|
62 |
$plugin_checkout = new THWCFD_Checkout();
|
63 |
add_action('wp_enqueue_scripts', array($plugin_checkout, 'enqueue_styles_and_scripts'));
|
64 |
add_action('after_setup_theme', array($plugin_checkout, 'define_public_hooks'));
|
65 |
+
//}
|
66 |
}
|
67 |
}
|
68 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ 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, checkout
|
5 |
Requires at least: 4.9
|
6 |
Tested up to: 5.2.3
|
7 |
-
Stable tag: 1.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -149,6 +149,10 @@ Yes. There is a button 'reset to default fields' to go back to the WooCommerce d
|
|
149 |
8. Newly added field
|
150 |
|
151 |
== Changelog ==
|
|
|
|
|
|
|
|
|
152 |
= 1.3.7 =
|
153 |
* Fixed the issue of not showing placeholder text for select fields.
|
154 |
* Fixed the warning "Deprecated: Non-static method should not be called statically"
|
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, checkout
|
5 |
Requires at least: 4.9
|
6 |
Tested up to: 5.2.3
|
7 |
+
Stable tag: 1.3.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
149 |
8. Newly added field
|
150 |
|
151 |
== Changelog ==
|
152 |
+
= 1.3.8 =
|
153 |
+
* Fixed the issue of not showing custom fields in resend emails.
|
154 |
+
* Fixed the issue of not loading settings page scripts & styles when translated to Hebrew."
|
155 |
+
|
156 |
= 1.3.7 =
|
157 |
* Fixed the issue of not showing placeholder text for select fields.
|
158 |
* Fixed the warning "Deprecated: Non-static method should not be called statically"
|