Changeset 3246679
- Timestamp:
- 02/25/2025 07:33:53 PM (13 months ago)
- Location:
- extra-product-options-for-woocommerce
- Files:
-
- 90 added
- 9 edited
-
tags/3.1.0 (added)
-
tags/3.1.0/Licensing (added)
-
tags/3.1.0/Licensing/GPL.txt (added)
-
tags/3.1.0/Licensing/README_License.txt (added)
-
tags/3.1.0/README.md (added)
-
tags/3.1.0/README.txt (added)
-
tags/3.1.0/assets (added)
-
tags/3.1.0/assets/css (added)
-
tags/3.1.0/assets/css/epofw-admin-rtl.css (added)
-
tags/3.1.0/assets/css/epofw-admin-rtl.min.css (added)
-
tags/3.1.0/assets/css/epofw-admin.css (added)
-
tags/3.1.0/assets/css/epofw-admin.min.css (added)
-
tags/3.1.0/assets/css/epofw-public-rtl.css (added)
-
tags/3.1.0/assets/css/epofw-public-rtl.min.css (added)
-
tags/3.1.0/assets/css/epofw-public.css (added)
-
tags/3.1.0/assets/css/epofw-public.min.css (added)
-
tags/3.1.0/assets/css/jquery-ui-timepicker-rtl.css (added)
-
tags/3.1.0/assets/css/jquery-ui-timepicker-rtl.min.css (added)
-
tags/3.1.0/assets/css/jquery-ui-timepicker.css (added)
-
tags/3.1.0/assets/css/jquery-ui-timepicker.min.css (added)
-
tags/3.1.0/assets/css/jquery-ui.min.css (added)
-
tags/3.1.0/assets/css/select2.min.css (added)
-
tags/3.1.0/assets/images (added)
-
tags/3.1.0/assets/images/admin_field_option.png (added)
-
tags/3.1.0/assets/images/admin_order_detail.png (added)
-
tags/3.1.0/assets/images/cart_field_option.png (added)
-
tags/3.1.0/assets/images/checkout_field_option.png (added)
-
tags/3.1.0/assets/images/desc.png (added)
-
tags/3.1.0/assets/images/desc1.png (added)
-
tags/3.1.0/assets/images/docx.png (added)
-
tags/3.1.0/assets/images/front_field_option.png (added)
-
tags/3.1.0/assets/images/order_detail_field_option.png (added)
-
tags/3.1.0/assets/images/pdf.png (added)
-
tags/3.1.0/assets/images/ui-icons_444444_256x240.png (added)
-
tags/3.1.0/assets/images/ui-icons_555555_256x240.png (added)
-
tags/3.1.0/assets/js (added)
-
tags/3.1.0/assets/js/epofw-admin.js (added)
-
tags/3.1.0/assets/js/epofw-admin.min.js (added)
-
tags/3.1.0/assets/js/epofw-front.js (added)
-
tags/3.1.0/assets/js/epofw-front.min.js (added)
-
tags/3.1.0/assets/js/jquery-ui-timepicker.js (added)
-
tags/3.1.0/assets/js/jquery-ui-timepicker.min.js (added)
-
tags/3.1.0/assets/js/jquery-ui.min.js (added)
-
tags/3.1.0/assets/js/select2.full.min.js (added)
-
tags/3.1.0/extra-product-options-for-woocommerce.php (added)
-
tags/3.1.0/includes (added)
-
tags/3.1.0/includes/class-epofw-admin.php (added)
-
tags/3.1.0/includes/class-epofw-bg-process.php (added)
-
tags/3.1.0/includes/class-epofw-field-setting.php (added)
-
tags/3.1.0/includes/class-epofw-field-table.php (added)
-
tags/3.1.0/includes/class-epofw-front.php (added)
-
tags/3.1.0/includes/class-epofw-import.php (added)
-
tags/3.1.0/includes/class-epofw-init.php (added)
-
tags/3.1.0/includes/class-epofw-wc-wholesale-prices-rymera.php (added)
-
tags/3.1.0/includes/class-epofw-woocs-compatiblity.php (added)
-
tags/3.1.0/languages (added)
-
tags/3.1.0/languages/extra-product-options-for-woocommerce-en_US.mo (added)
-
tags/3.1.0/languages/extra-product-options-for-woocommerce-en_US.po (added)
-
tags/3.1.0/languages/extra-product-options-for-woocommerce.pot (added)
-
tags/3.1.0/settings (added)
-
tags/3.1.0/settings/class-epofw-main.php (added)
-
tags/3.1.0/settings/epofw-about-info.php (added)
-
tags/3.1.0/settings/epofw-actions.php (added)
-
tags/3.1.0/settings/epofw-admin-settings.php (added)
-
tags/3.1.0/settings/epofw-common-function.php (added)
-
tags/3.1.0/settings/epofw-constant.php (added)
-
tags/3.1.0/settings/epofw-general-settings.php (added)
-
tags/3.1.0/templates (added)
-
tags/3.1.0/templates/admin (added)
-
tags/3.1.0/templates/epofw-addon-details.php (added)
-
tags/3.1.0/templates/epofw-addon-table-html.php (added)
-
tags/3.1.0/templates/epofw-checkbox.php (added)
-
tags/3.1.0/templates/epofw-checkboxgroup.php (added)
-
tags/3.1.0/templates/epofw-colorpicker.php (added)
-
tags/3.1.0/templates/epofw-datepicker.php (added)
-
tags/3.1.0/templates/epofw-field-input-html.php (added)
-
tags/3.1.0/templates/epofw-field-label-html.php (added)
-
tags/3.1.0/templates/epofw-hidden.php (added)
-
tags/3.1.0/templates/epofw-html.php (added)
-
tags/3.1.0/templates/epofw-multiselect.php (added)
-
tags/3.1.0/templates/epofw-number.php (added)
-
tags/3.1.0/templates/epofw-password.php (added)
-
tags/3.1.0/templates/epofw-radiogroup.php (added)
-
tags/3.1.0/templates/epofw-select.php (added)
-
tags/3.1.0/templates/epofw-text.php (added)
-
tags/3.1.0/templates/epofw-textarea.php (added)
-
tags/3.1.0/templates/epofw-timepicker.php (added)
-
tags/3.1.0/woocommerce (added)
-
tags/3.1.0/woocommerce/cart (added)
-
tags/3.1.0/woocommerce/cart/cart-item-data.php (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/extra-product-options-for-woocommerce.php (modified) (2 diffs)
-
trunk/includes/class-epofw-field-setting.php (modified) (1 diff)
-
trunk/includes/class-epofw-front.php (modified) (3 diffs)
-
trunk/includes/class-epofw-wc-wholesale-prices-rymera.php (modified) (1 diff)
-
trunk/languages/extra-product-options-for-woocommerce.pot (modified) (5 diffs)
-
trunk/settings/epofw-actions.php (modified) (1 diff)
-
trunk/settings/epofw-common-function.php (modified) (3 diffs)
-
trunk/settings/epofw-constant.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
extra-product-options-for-woocommerce/trunk/README.txt
r3245856 r3246679 5 5 Tested up to: 6.7.2 6 6 Requires PHP: 5.6 7 WC tested up to: 9. 6.28 Stable tag: 3. 0.97 WC tested up to: 9.7.0 8 Stable tag: 3.1.0 9 9 License: GNU General Public License v2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 208 208 209 209 == Changelog == 210 = 3.1.0 = 211 * Add nonce after add to cart button. 212 * Refactor code 213 * Compatible with WooCommerce 9.7.x 214 210 215 = 3.0.9 = 211 216 * New - Import Dummy Data -
extra-product-options-for-woocommerce/trunk/extra-product-options-for-woocommerce.php
r3245856 r3246679 3 3 * Plugin Name: Extra Product Options for WooCommerce 4 4 * Description: Extra product options for WooCommerce Plugin allows you to add custom form fields (12+ field types) and sections to your WooCommerce product page. Easy way to add custom fields as per your requirement 5 * Version: 3. 0.95 * Version: 3.1.0 6 6 * Author: actpro 7 7 * Author URI: https://profiles.wordpress.org/actpro/ … … 12 12 * 13 13 * WC requires at least: 3.6 14 * WC tested up to: 8.9.114 * WC tested up to: 9.7.0 15 15 * 16 16 * @package Extra_Product_Options_For_WooCommerce -
extra-product-options-for-woocommerce/trunk/includes/class-epofw-field-setting.php
r3245856 r3246679 358 358 wp_die( esc_html__( 'You do not have sufficient permissions to access this page.', 'extra-product-options-for-woocommerce' ) ); 359 359 } 360 $action = filter_input( INPUT_GET, 'action', FILTER_SANITIZE_FULL_SPECIAL_CHARS ); 361 $epofw_save = filter_input( INPUT_POST, 'epofw_save', FILTER_SANITIZE_FULL_SPECIAL_CHARS ); 362 $epofw_save = isset( $epofw_save ) ? sanitize_text_field( wp_unslash( $epofw_save ) ) : ''; 363 $woocommerce_save_method_nonce = filter_input( INPUT_POST, 'woocommerce_save_method_nonce', FILTER_SANITIZE_FULL_SPECIAL_CHARS ); 360 $action = filter_input( INPUT_GET, 'action', FILTER_SANITIZE_FULL_SPECIAL_CHARS ); 361 $epofw_save = filter_input( INPUT_POST, 'epofw_save', FILTER_SANITIZE_FULL_SPECIAL_CHARS ); 362 $epofw_save = isset( $epofw_save ) ? sanitize_text_field( wp_unslash( $epofw_save ) ) : ''; 364 363 if ( ( isset( $action ) && ! empty( $action ) ) ) { 365 364 if ( ! empty( $epofw_save ) ) { -
extra-product-options-for-woocommerce/trunk/includes/class-epofw-front.php
r3245856 r3246679 548 548 $main_fields_data_arr = $this->epofw_get_fields_data( $post->ID ); 549 549 if ( ! empty( $main_fields_data_arr ) ) { 550 551 // Add nonce field using the centralized function. 552 $this->epofw_add_nonce_field(); 553 550 554 foreach ( $main_fields_data_arr as $fields_data_arr ) { 551 555 $addon_position = epofw_check_array_key_exists( 'epofw_addon_position', $fields_data_arr ); … … 605 609 } 606 610 607 $get_post_data = $_POST; // phpcs:ignore WordPress.Security.NonceVerification.Missing611 $get_post_data = array_map( 'sanitize_text_field', wp_unslash( $_POST ) ); // phpcs:ignore WordPress.Security.NonceVerification.Missing 608 612 $fields_data_arr = $this->epofw_get_fields_data( $product_id ); 609 613 $get_field_name_arr = $this->epofw_get_field_name_from_data( $fields_data_arr, $get_post_data ); … … 1507 1511 * @param int|float $product_price Product price. 1508 1512 * @param array $cart_item_data Cart item data. 1513 * @param string $cart_item_key Cart item key. 1509 1514 * 1510 1515 * @return string 1511 1516 */ 1512 public function epofw_woocommerce_cart_item_price( $product_price, $cart_item_data ) {1517 public function epofw_woocommerce_cart_item_price( $product_price, $cart_item_data, $cart_item_key ) { 1513 1518 // Set without tax price becaue wc_get_price_to_display function will calucalte tax based on original price. 1514 1519 if ( isset( $cart_item_data['epofw_product_price_without_tax'] ) ) { -
extra-product-options-for-woocommerce/trunk/includes/class-epofw-wc-wholesale-prices-rymera.php
r3078194 r3246679 6 6 * @subpackage Extra_Product_Options_For_WooCommerce/includes 7 7 * 8 * @since 8 * @since 2.5 9 9 */ 10 10 -
extra-product-options-for-woocommerce/trunk/languages/extra-product-options-for-woocommerce.pot
r3245856 r3246679 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Extra Product Options for WooCommerce 3. 0.9\n"5 "Project-Id-Version: Extra Product Options for WooCommerce 3.1.0\n" 6 6 "Report-Msgid-Bugs-To: https://www.wpactpro.com/contact/\n" 7 "POT-Creation-Date: 2025-02-2 4 15:32:51+00:00\n"7 "POT-Creation-Date: 2025-02-25 19:27:11+00:00\n" 8 8 "MIME-Version: 1.0\n" 9 9 "Content-Type: text/plain; charset=utf-8\n" … … 115 115 msgstr "" 116 116 117 #: includes/class-epofw-field-setting.php:3 70117 #: includes/class-epofw-field-setting.php:369 118 118 msgid "Security check failed." 119 119 msgstr "" 120 120 121 #: includes/class-epofw-field-setting.php:46 2121 #: includes/class-epofw-field-setting.php:461 122 122 msgid "Error saving Product Option." 123 123 msgstr "" 124 124 125 #: includes/class-epofw-field-setting.php:53 1125 #: includes/class-epofw-field-setting.php:530 126 126 msgid "Import Dummy Fields" 127 127 msgstr "" 128 128 129 #: includes/class-epofw-field-setting.php:56 1129 #: includes/class-epofw-field-setting.php:560 130 130 msgid "Field Listing" 131 131 msgstr "" 132 132 133 #: includes/class-epofw-field-setting.php:57 6133 #: includes/class-epofw-field-setting.php:575 134 134 msgid "Add New" 135 135 msgstr "" 136 136 137 #: includes/class-epofw-field-setting.php:58 9137 #: includes/class-epofw-field-setting.php:588 138 138 msgid "Search results for " 139 139 msgstr "" 140 140 141 #: includes/class-epofw-field-setting.php:60 1141 #: includes/class-epofw-field-setting.php:600 142 142 msgid "Search Product Option" 143 143 msgstr "" … … 235 235 msgstr "" 236 236 237 #: includes/class-epofw-front.php:60 1237 #: includes/class-epofw-front.php:605 238 238 msgid "Security check failed. Please refresh the page and try again." 239 239 msgstr "" 240 240 241 #: includes/class-epofw-front.php:67 3241 #: includes/class-epofw-front.php:677 242 242 #. translators: %1$s: Field label that only accepts numbers 243 243 msgid "Only numbers are allowed for \"%1$s\"." 244 244 msgstr "" 245 245 246 #: includes/class-epofw-front.php:68 3246 #: includes/class-epofw-front.php:687 247 247 #. translators: %1$s: Field label that accepts decimal numbers 248 248 msgid "Decimal numbers are allowed for \" %1$s\"." 249 249 msgstr "" 250 250 251 #: includes/class-epofw-front.php:6 89251 #: includes/class-epofw-front.php:693 252 252 #. translators: %1$s: Field label that only accepts text 253 253 msgid "Only texts are allowed for \" %1$s\"." 254 254 msgstr "" 255 255 256 #: includes/class-epofw-front.php:69 5256 #: includes/class-epofw-front.php:699 257 257 #. translators: %1$s: Field label that accepts both text and numbers 258 258 msgid "Only text and numbers are allowed for \" %1$s\"." 259 259 msgstr "" 260 260 261 #: includes/class-epofw-front.php:70 1261 #: includes/class-epofw-front.php:705 262 262 #. translators: %1$s: Field label that requires email format 263 263 msgid "Invalid email format for \" %1$s\"." 264 264 msgstr "" 265 265 266 #: includes/class-epofw-front.php:85 5266 #: includes/class-epofw-front.php:859 267 267 msgid "Option is invalid" 268 268 msgstr "" … … 403 403 404 404 #: settings/epofw-admin-settings.php:158 405 #: settings/epofw-common-function.php:220 3405 #: settings/epofw-common-function.php:2205 406 406 msgid "Field Status" 407 407 msgstr "" … … 955 955 msgstr "" 956 956 957 #: settings/epofw-common-function.php:220 4957 #: settings/epofw-common-function.php:2206 958 958 msgid "Enable or disable field based on checkbox." 959 959 msgstr "" 960 960 961 #: settings/epofw-common-function.php:228 2961 #: settings/epofw-common-function.php:2286 962 962 msgid "In which product you want to display product fields." 963 963 msgstr "" 964 964 965 #: settings/epofw-common-function.php:27 09965 #: settings/epofw-common-function.php:2713 966 966 msgid "Product" 967 967 msgstr "" 968 968 969 #: settings/epofw-common-function.php:271 0969 #: settings/epofw-common-function.php:2714 970 970 msgid "Category" 971 971 msgstr "" 972 972 973 #: settings/epofw-common-function.php:27 29973 #: settings/epofw-common-function.php:2733 974 974 msgid "Is Equal To" 975 975 msgstr "" 976 976 977 #: settings/epofw-common-function.php:273 0977 #: settings/epofw-common-function.php:2734 978 978 msgid "Not Equal To" 979 979 msgstr "" 980 980 981 #: settings/epofw-common-function.php:275 4981 #: settings/epofw-common-function.php:2758 982 982 msgid "Fixed" 983 983 msgstr "" 984 984 985 #: settings/epofw-common-function.php:277 4985 #: settings/epofw-common-function.php:2778 986 986 msgid "Label" 987 987 msgstr "" 988 988 989 #: settings/epofw-common-function.php:277 5989 #: settings/epofw-common-function.php:2779 990 990 msgid "H1" 991 991 msgstr "" 992 992 993 #: settings/epofw-common-function.php:27 76993 #: settings/epofw-common-function.php:2780 994 994 msgid "H2" 995 995 msgstr "" 996 996 997 #: settings/epofw-common-function.php:27 77997 #: settings/epofw-common-function.php:2781 998 998 msgid "H3" 999 999 msgstr "" 1000 1000 1001 #: settings/epofw-common-function.php:27 781001 #: settings/epofw-common-function.php:2782 1002 1002 msgid "H4" 1003 1003 msgstr "" 1004 1004 1005 #: settings/epofw-common-function.php:27 791005 #: settings/epofw-common-function.php:2783 1006 1006 msgid "H5" 1007 1007 msgstr "" 1008 1008 1009 #: settings/epofw-common-function.php:278 01009 #: settings/epofw-common-function.php:2784 1010 1010 msgid "H6" 1011 1011 msgstr "" 1012 1012 1013 #: settings/epofw-common-function.php:278 11013 #: settings/epofw-common-function.php:2785 1014 1014 msgid "Strong" 1015 1015 msgstr "" 1016 1016 1017 #: settings/epofw-common-function.php:278 21017 #: settings/epofw-common-function.php:2786 1018 1018 msgid "Span" 1019 1019 msgstr "" 1020 1020 1021 #: settings/epofw-common-function.php:278 31021 #: settings/epofw-common-function.php:2787 1022 1022 msgid "Div" 1023 1023 msgstr "" 1024 1024 1025 #: settings/epofw-common-function.php:280 21025 #: settings/epofw-common-function.php:2806 1026 1026 msgid "Allow all" 1027 1027 msgstr "" 1028 1028 1029 #: settings/epofw-common-function.php:280 31029 #: settings/epofw-common-function.php:2807 1030 1030 msgid "Only Text" 1031 1031 msgstr "" 1032 1032 1033 #: settings/epofw-common-function.php:280 41033 #: settings/epofw-common-function.php:2808 1034 1034 msgid "Only Number" 1035 1035 msgstr "" 1036 1036 1037 #: settings/epofw-common-function.php:280 51037 #: settings/epofw-common-function.php:2809 1038 1038 msgid "Number with decimal" 1039 1039 msgstr "" 1040 1040 1041 #: settings/epofw-common-function.php:28 061041 #: settings/epofw-common-function.php:2810 1042 1042 msgid "Text and Number" 1043 1043 msgstr "" 1044 1044 1045 #: settings/epofw-common-function.php:28 071045 #: settings/epofw-common-function.php:2811 1046 1046 msgid "Email" 1047 1047 msgstr "" 1048 1048 1049 #: settings/epofw-common-function.php:28 261049 #: settings/epofw-common-function.php:2830 1050 1050 msgid "P" 1051 1051 msgstr "" 1052 1052 1053 #: settings/epofw-common-function.php:28 271053 #: settings/epofw-common-function.php:2831 1054 1054 msgid "Address" 1055 1055 msgstr "" 1056 1056 1057 #: settings/epofw-common-function.php:28 281057 #: settings/epofw-common-function.php:2832 1058 1058 msgid "Blockquote" 1059 1059 msgstr "" 1060 1060 1061 #: settings/epofw-common-function.php:28 291061 #: settings/epofw-common-function.php:2833 1062 1062 msgid "Canvas" 1063 1063 msgstr "" 1064 1064 1065 #: settings/epofw-common-function.php:283 01065 #: settings/epofw-common-function.php:2834 1066 1066 msgid "Output" 1067 1067 msgstr "" 1068 1068 1069 #: settings/epofw-common-function.php:28 491069 #: settings/epofw-common-function.php:2853 1070 1070 msgid "Text" 1071 1071 msgstr "" 1072 1072 1073 #: settings/epofw-common-function.php:285 01073 #: settings/epofw-common-function.php:2854 1074 1074 msgid "Hidden" 1075 1075 msgstr "" 1076 1076 1077 #: settings/epofw-common-function.php:285 11077 #: settings/epofw-common-function.php:2855 1078 1078 msgid "Number" 1079 1079 msgstr "" 1080 1080 1081 #: settings/epofw-common-function.php:285 21081 #: settings/epofw-common-function.php:2856 1082 1082 msgid "Password" 1083 1083 msgstr "" 1084 1084 1085 #: settings/epofw-common-function.php:285 31085 #: settings/epofw-common-function.php:2857 1086 1086 msgid "Textarea" 1087 1087 msgstr "" 1088 1088 1089 #: settings/epofw-common-function.php:285 41089 #: settings/epofw-common-function.php:2858 1090 1090 msgid "Select" 1091 1091 msgstr "" 1092 1092 1093 #: settings/epofw-common-function.php:285 51093 #: settings/epofw-common-function.php:2859 1094 1094 msgid "Multiselect" 1095 1095 msgstr "" 1096 1096 1097 #: settings/epofw-common-function.php:28 561097 #: settings/epofw-common-function.php:2860 1098 1098 msgid "Checkbox" 1099 1099 msgstr "" 1100 1100 1101 #: settings/epofw-common-function.php:28 571101 #: settings/epofw-common-function.php:2861 1102 1102 msgid "Checkbox Group" 1103 1103 msgstr "" 1104 1104 1105 #: settings/epofw-common-function.php:28 581105 #: settings/epofw-common-function.php:2862 1106 1106 msgid "Radio" 1107 1107 msgstr "" 1108 1108 1109 #: settings/epofw-common-function.php:28 591109 #: settings/epofw-common-function.php:2863 1110 1110 msgid "Date Picker" 1111 1111 msgstr "" 1112 1112 1113 #: settings/epofw-common-function.php:286 01113 #: settings/epofw-common-function.php:2864 1114 1114 msgid "Time Picker" 1115 1115 msgstr "" 1116 1116 1117 #: settings/epofw-common-function.php:286 11117 #: settings/epofw-common-function.php:2865 1118 1118 msgid "Color Picker" 1119 1119 msgstr "" 1120 1120 1121 #: settings/epofw-common-function.php:286 21121 #: settings/epofw-common-function.php:2866 1122 1122 msgid "Heading" 1123 1123 msgstr "" 1124 1124 1125 #: settings/epofw-common-function.php:286 31125 #: settings/epofw-common-function.php:2867 1126 1126 msgid "Paragraph" 1127 1127 msgstr "" 1128 1128 1129 #: settings/epofw-common-function.php:307 21130 #: settings/epofw-common-function.php:311 11129 #: settings/epofw-common-function.php:3076 1130 #: settings/epofw-common-function.php:3115 1131 1131 msgid "Option Label" 1132 1132 msgstr "" 1133 1133 1134 #: settings/epofw-common-function.php:309 11135 #: settings/epofw-common-function.php:313 01134 #: settings/epofw-common-function.php:3095 1135 #: settings/epofw-common-function.php:3134 1136 1136 msgid "Option Price" 1137 1137 msgstr "" 1138 1138 1139 #: settings/epofw-common-function.php:311 11139 #: settings/epofw-common-function.php:3115 1140 1140 msgid "Option 1" 1141 1141 msgstr "" 1142 1142 1143 #: settings/epofw-common-function.php:314 41143 #: settings/epofw-common-function.php:3148 1144 1144 msgid "Note: Options must be unique." 1145 1145 msgstr "" 1146 1146 1147 #: settings/epofw-common-function.php:31 471147 #: settings/epofw-common-function.php:3151 1148 1148 msgid "Add New Option" 1149 1149 msgstr "" 1150 1150 1151 #: settings/epofw-common-function.php:359 21151 #: settings/epofw-common-function.php:3596 1152 1152 msgid "Addon Details" 1153 1153 msgstr "" 1154 1154 1155 #: settings/epofw-common-function.php:360 51155 #: settings/epofw-common-function.php:3609 1156 1156 msgid "Subtotal" 1157 1157 msgstr "" -
extra-product-options-for-woocommerce/trunk/settings/epofw-actions.php
r3245856 r3246679 24 24 } 25 25 26 add_filter( 'epofw_get_field_label_class', 'epofw_get_field_label_class_callback' , 10, 1);26 add_filter( 'epofw_get_field_label_class', 'epofw_get_field_label_class_callback' ); 27 27 28 28 /** -
extra-product-options-for-woocommerce/trunk/settings/epofw-common-function.php
r3245856 r3246679 57 57 function epofw_field_start_th_fn() { 58 58 ?> 59 <div scope="row1" class="col-251"> <div scope="row" class="col-25">59 <div scope="row1" class="col-251"><div scope="row" class="col-25"> 60 60 <?php 61 61 } … … 2170 2170 $data_property['id'] = $field_id; 2171 2171 } 2172 $data_property['class'] = $field_class; 2172 if ( ! empty( $field_class ) ) { 2173 $data_property['class'] = $field_class; 2174 } 2173 2175 $data_property['options'] = epofw_field_type_options_data(); 2174 2176 // phpcs:ignore WordPress.Security.EscapeOutput … … 2252 2254 $data_property['id'] = $field_id; 2253 2255 } 2254 $data_property['class'] = $field_class; 2256 if ( ! empty( $field_class ) ) { 2257 $data_property['class'] = $field_class; 2258 } 2255 2259 // phpcs:ignore WordPress.Security.EscapeOutput 2256 2260 echo cp_render_fields( $data_property, $field_type, $inc_key ); -
extra-product-options-for-woocommerce/trunk/settings/epofw-constant.php
r3245856 r3246679 12 12 } 13 13 if ( ! defined( 'EPOFW_PLUGIN_VERSION' ) ) { 14 define( 'EPOFW_PLUGIN_VERSION', '3. 0.9' );14 define( 'EPOFW_PLUGIN_VERSION', '3.1.0' ); 15 15 } 16 16 if ( ! defined( 'EPOFW_SLUG' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.