← All changes
|
core/common/modules/events-manager/server-events-client.php
+1
-1
4.3.0
→
4.3.2
View file →
| @@ -20,9 +20,9 @@ | ||
| 20 | 20 | try { |
| 21 | 21 | // The SDK's own instance getter is itself a singleton keyed by token - it returns the |
| 22 | 22 | // existing instance or creates a new one if it doesn't exist yet. |
| 23 | 23 | $client = Mixpanel::getInstance( ELEMENTOR_EDITOR_EVENTS_MIXPANEL_TOKEN, [ |
| 24 | - 'host' => Module::get_mixpanel_api_host(), | |
| 24 | + 'host' => wp_parse_url( Module::get_mixpanel_api_host(), PHP_URL_HOST ), | |
| 25 | 25 | 'consumer' => 'wp', |
| 26 | 26 | 'consumers' => [ |
| 27 | 27 | 'wp' => Wp_Http_Consumer::class, |
| 28 | 28 | ], |