| @@ 87-98 (lines=12) @@ | ||
| 84 | * @param array $properties Already prepared tracking properties. |
|
| 85 | * @return array amended properties. |
|
| 86 | */ |
|
| 87 | public static function filter_register_request_body( $properties ) { |
|
| 88 | $tracking = new Tracking(); |
|
| 89 | $tracks_identity = $tracking->tracks_get_identity( get_current_user_id() ); |
|
| 90 | ||
| 91 | return array_merge( |
|
| 92 | $properties, |
|
| 93 | array( |
|
| 94 | '_ui' => $tracks_identity['_ui'], |
|
| 95 | '_ut' => $tracks_identity['_ut'], |
|
| 96 | ) |
|
| 97 | ); |
|
| 98 | } |
|
| 99 | } |
|
| 100 | ||
| @@ 5591-5602 (lines=12) @@ | ||
| 5588 | * @param array $properties |
|
| 5589 | * @return array amended properties. |
|
| 5590 | */ |
|
| 5591 | public static function filter_token_request_body( $properties ) { |
|
| 5592 | $tracking = new Tracking(); |
|
| 5593 | $tracks_identity = $tracking->tracks_get_identity( get_current_user_id() ); |
|
| 5594 | ||
| 5595 | return array_merge( |
|
| 5596 | $properties, |
|
| 5597 | array( |
|
| 5598 | '_ui' => $tracks_identity['_ui'], |
|
| 5599 | '_ut' => $tracks_identity['_ut'], |
|
| 5600 | ) |
|
| 5601 | ); |
|
| 5602 | } |
|
| 5603 | ||
| 5604 | /** |
|
| 5605 | * If the db version is showing something other that what we've got now, bump it to current. |
|