auto-patch 748-dev-dev01-2024-06-08T22_32_58
This commit is contained in:
@@ -16,7 +16,6 @@ use WC_Customer;
|
||||
use WC_Log_Levels;
|
||||
use WC_Logger_Interface;
|
||||
use WC_Order;
|
||||
use WC_Tracks;
|
||||
|
||||
/**
|
||||
* Class OrderAttributionController
|
||||
@@ -437,12 +436,9 @@ class OrderAttributionController implements RegisterHooksInterface {
|
||||
'customer_registered' => $order->get_customer_id() ? 'yes' : 'no',
|
||||
);
|
||||
|
||||
$this->proxy->call_static(
|
||||
WC_Tracks::class,
|
||||
'record_event',
|
||||
'order_attribution',
|
||||
$tracks_data
|
||||
);
|
||||
if ( function_exists( 'wc_admin_record_tracks_event' ) ) {
|
||||
wc_admin_record_tracks_event( 'order_attribution', $tracks_data );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user