Changeset 2568761
- Timestamp:
- 07/21/2021 04:41:55 AM (4 years ago)
- Location:
- dashly
- Files:
-
- 11 added
- 3 edited
-
tags/2.1.1 (added)
-
tags/2.1.1/dashly.php (added)
-
tags/2.1.1/includes (added)
-
tags/2.1.1/includes/class-dashlybase.php (added)
-
tags/2.1.1/includes/class-dashlyhooks.php (added)
-
tags/2.1.1/languages (added)
-
tags/2.1.1/languages/dashly-ru_RU.mo (added)
-
tags/2.1.1/languages/dashly-ru_RU.po (added)
-
tags/2.1.1/languages/dashly.pot (added)
-
tags/2.1.1/options.php (added)
-
tags/2.1.1/readme.txt (added)
-
trunk/dashly.php (modified) (1 diff)
-
trunk/includes/class-dashlyhooks.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dashly/trunk/dashly.php
r2549674 r2568761 3 3 * Plugin Name: Dashly 4 4 * Description: Dashly is a customer service, combining all instruments for marketing automation, sales and communications for your web app. Goal is to increase first and second sales. 5 * Version: 2.1. 05 * Version: 2.1.1 6 6 * Author: Dashly 7 7 * Author URI: https://www.dashly.io -
dashly/trunk/includes/class-dashlyhooks.php
r2549674 r2568761 153 153 154 154 $total = $order->get_subtotal(); 155 $name = implode( ' ', array( trim( $order->get_billing_first_name() ), trim( $order->get_billing_last_name() ) ) );155 $name = trim( implode( ' ', array( trim( $order->get_billing_first_name() ), trim( $order->get_billing_last_name() ) ) ) ); 156 156 if ( ! isset( $name ) || 0 === strlen( $name ) ) { 157 $name = implode( ' ', array( trim( $order->get_shipping_first_name() ), trim( $order->get_shipping_last_name() ) ) );157 $name = trim( implode( ' ', array( trim( $order->get_shipping_first_name() ), trim( $order->get_shipping_last_name() ) ) ) ); 158 158 } 159 159 $phone = $order->get_billing_phone(); … … 394 394 $dashly_uid = sanitize_text_field( wp_unslash( $_COOKIE['dashly_uid'] ) ); 395 395 $settings = self::get_settings(); 396 $name = implode( ' ', trim( get_user_meta( $current_user->ID, 'billing_first_name', true ) ), trim( get_user_meta( $current_user->ID, 'billing_last_name', true) ) );396 $name = trim( implode( ' ', array( trim( get_user_meta( $current_user->ID, 'billing_first_name', true ) ), trim( get_user_meta( $current_user->ID, 'billing_last_name', true ) ) ) ) ); 397 397 if ( ! isset( $name ) || 0 === strlen( $name ) ) { 398 $name = implode(' ', trim(get_user_meta($current_user->ID, 'shipping_first_name', true)), trim(get_user_meta($current_user->ID, 'shipping_last_name', true)));398 $name = trim( implode(' ', array( trim(get_user_meta($current_user->ID, 'shipping_first_name', true)), trim(get_user_meta($current_user->ID, 'shipping_last_name', true) ) ) ) ); 399 399 } 400 400 $phone = get_user_meta( $current_user->ID, 'billing_phone', true ); -
dashly/trunk/readme.txt
r2549674 r2568761 4 4 Requires at least: 4.2 5 5 Tested up to: 5.7.2 6 Stable tag: 2.1. 06 Stable tag: 2.1.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 152 152 * Action used to add our script to pages changed from wp_head to wp_enqueue_scripts 153 153 * Fixed Cart property values sent to Dashly. Instead of "None" value it will now actually have product names. As it was supposed to. 154 155 = 2.1.1 = 156 157 * Fixed code error on user authentication
Note: See TracChangeset
for help on using the changeset viewer.