|
@@ -48,7 +48,7 @@ discard block |
|
|
block discarded – undo |
|
48
|
48
|
|
|
49
|
49
|
/** |
|
50
|
50
|
* record_event |
|
51
|
|
- * @param mixed $event Event object to send to Tracks. An array will be cast to object. Required. |
|
|
51
|
+ * @param Jetpack_Tracks_Event $event Event object to send to Tracks. An array will be cast to object. Required. |
|
52
|
52
|
* Properties are included directly in the pixel query string after light validation. |
|
53
|
53
|
* @return mixed True on success, WP_Error on failure |
|
54
|
54
|
*/ |
|
@@ -71,6 +71,7 @@ discard block |
|
|
block discarded – undo |
|
71
|
71
|
|
|
72
|
72
|
/** |
|
73
|
73
|
* Synchronously request the pixel |
|
|
74
|
+ * @param string $pixel |
|
74
|
75
|
*/ |
|
75
|
76
|
static function record_pixel( $pixel ) { |
|
76
|
77
|
// Add the Request Timestamp and URL terminator just before the HTTP request. |
Please login to merge, or discard this patch.