| @@ -9,11 +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 WP_Error; |
| 15 | 14 | |
| 15 | +use function Parsely\Utils\get_timestamp; | |
| 16 | + | |
| 16 | 17 | /** |
| 17 | 18 | * Handles all operations related to the Tracks pixel. |
| 18 | 19 | * |
| 19 | 20 | * @since 3.12.0 |
| @@ -116,9 +117,9 @@ | ||
| 116 | 117 | } |
| 117 | 118 | |
| 118 | 119 | // Add the Request Timestamp and URL terminator just before the HTTP |
| 119 | 120 | // request. |
| 120 | - $pixel_url .= '&_rt=' . Utils::get_timestamp() . '&_=_'; | |
| 121 | + $pixel_url .= '&_rt=' . get_timestamp() . '&_=_'; | |
| 121 | 122 | |
| 122 | 123 | $request = wp_safe_remote_get( |
| 123 | 124 | $pixel_url, |
| 124 | 125 | array( |