PluginProbe
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster / 2.7.0
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster v2.7.0
2.7.0 2.6.0 trunk 1.1.0 1.1.4 1.2.1 1.2.2 1.2.3 1.2.5 1.2.9 1.3.1 1.3.2 1.5.0 1.5.1 1.5.4 1.5.7 1.5.8 1.5.9 1.6.2 1.6.5 1.6.8 1.7.2 1.7.4 1.7.5 1.7.9 All 43 releases
← All changes | includes/contact-segmentation/contact-data.php +5 -0 1.1.42.7.0 View file →
@@ -55,8 +55,12 @@
55 55 $this->update_user_info();
56 56
57 57 $this->data = array_merge( $this->data, self::$historical_data );
58 58
59 + if ( ! class_exists( 'Contact_Data_Updater' ) ) {
60 + require_once __DIR__ . '/contact-data-updater.php';
61 + }
62 +
59 63 Contact_Data_Updater::get_instance();
60 64 }
61 65
62 66 /**
@@ -144,8 +148,9 @@
144 148 */
145 149 public function get_contact_data() {
146 150 if ( ! is_user_logged_in() && ! empty( $_COOKIE['sellkit_contact_segmentation'] ) ) {
147 151 self::$historical_data = (array) json_decode( wp_unslash( $_COOKIE['sellkit_contact_segmentation'] ) ); // phpcs:ignore
152 +
148 153 return;
149 154 }
150 155
151 156 global $wpdb;