Changeset 3014299
- Timestamp:
- 12/26/2023 10:27:47 AM (2 years ago)
- Location:
- clickship/trunk
- Files:
-
- 2 edited
-
includes/class-clickship-shipping.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
clickship/trunk/includes/class-clickship-shipping.php
r2802338 r3014299 153 153 $desination['email'] = sanitize_text_field($customer_meta['billing_email'][0]); 154 154 $desination['phone'] = sanitize_text_field($customer_meta['billing_phone'][0]); 155 $desination['name'] = sanitize_text_field($customer_meta['shipping_first_name'][0]) . ' ' . sanitize_text_field($customer_meta['shipping_last_name'][0]); 155 $shipping_first_name_data = sanitize_text_field($customer_meta['shipping_first_name'][0]); 156 if(!empty($shipping_first_name_data)){ 157 $shipping_first_name_result = $shipping_first_name_data.' '; 158 } 159 $desination['name'] = trim($shipping_first_name_result . sanitize_text_field($customer_meta['shipping_last_name'][0])); 156 160 $desination['company_name'] = sanitize_text_field($customer_meta['shipping_company'][0]); 157 161 } else { -
clickship/trunk/readme.txt
r2802338 r3014299 3 3 Tags: woocommerce, shipping, custom shipping, weight based shipping, woocommerce shipping, shipping methods, advanced shipping 4 4 Requires at least: 5.8 5 Tested up to: 6. 05 Tested up to: 6.4.2 6 6 Requires PHP: 7.2 7 Stable tag: 1.0. 07 Stable tag: 1.0.1 8 8 License: GNU General Public License v3.0 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html
Note: See TracChangeset
for help on using the changeset viewer.