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