Adjust user agent string

This commit is contained in:
Gerhard 2015-01-23 09:15:16 +02:00
parent 4e8b7327ca
commit efb15ab1c4
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ class WC_Tracker {
'redirection' => 5,
'httpversion' => '1.0',
'blocking' => true,
'headers' => array( 'user-agent' => 'WooCommerce/' . WC_VERSION . '; ' . esc_url( home_url( '/' ) ) ),
'headers' => array( 'user-agent' => 'WooCommerceTracker/' . md5( esc_url( home_url( '/' ) ) ) . ';' ),
'body' => json_encode( $params ),
'cookies' => array()
)