PluginProbe
Parse.ly / 3.14.1
Parse.ly v3.14.1
3.24.2 3.24.1 3.24.0 3.23.7 3.23.6 3.23.5 3.23.4 3.23.3 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.17.0 3.18.0 3.18.1 3.19.0 3.19.1 3.19.2 3.19.3 3.2.0 3.2.1 3.20.0 3.20.1 3.20.2 All 106 releases
← All changes | src/Telemetry/Tracks/class-tracks-event.php +2 -2 3.18.0 → 3.14.1 View file →
@@ -9,12 +9,12 @@
9 9 declare(strict_types=1);
10 10
11 11 namespace Parsely\Telemetry;
12 12
13 -use Parsely\Utils\Utils;
14 13 use stdClass;
15 14 use WP_Error;
16 15
16 +use function Parsely\Utils\get_timestamp;
17 17 use const Parsely\PARSELY_VERSION;
18 18
19 19 /**
20 20 * Class that creates and validates Tracks events.
@@ -121,9 +121,9 @@
121 121 ) ?? '';
122 122
123 123 // Set event timestamp.
124 124 if ( ! isset( $event->_ts ) ) {
125 - $event->_ts = Utils::get_timestamp();
125 + $event->_ts = get_timestamp();
126 126 }
127 127
128 128 // Remove non-routable IPs to prevent record from being discarded.
129 129 if ( property_exists( $event, '_via_ip' ) &&