@@ 5339-5350 (lines=12) @@ | ||
5336 | * @param Array $properties |
|
5337 | * @return Array amended properties. |
|
5338 | */ |
|
5339 | public static function filter_register_request_body( $properties ) { |
|
5340 | $tracking = new Tracking(); |
|
5341 | $tracks_identity = $tracking->tracks_get_identity( get_current_user_id() ); |
|
5342 | ||
5343 | return array_merge( |
|
5344 | $properties, |
|
5345 | array( |
|
5346 | '_ui' => $tracks_identity['_ui'], |
|
5347 | '_ut' => $tracks_identity['_ut'], |
|
5348 | ) |
|
5349 | ); |
|
5350 | } |
|
5351 | ||
5352 | /** |
|
5353 | * Filters the token request body to include tracking properties. |
|
@@ 5358-5369 (lines=12) @@ | ||
5355 | * @param Array $properties |
|
5356 | * @return Array amended properties. |
|
5357 | */ |
|
5358 | public static function filter_token_request_body( $properties ) { |
|
5359 | $tracking = new Tracking(); |
|
5360 | $tracks_identity = $tracking->tracks_get_identity( get_current_user_id() ); |
|
5361 | ||
5362 | return array_merge( |
|
5363 | $properties, |
|
5364 | array( |
|
5365 | '_ui' => $tracks_identity['_ui'], |
|
5366 | '_ut' => $tracks_identity['_ut'], |
|
5367 | ) |
|
5368 | ); |
|
5369 | } |
|
5370 | ||
5371 | /** |
|
5372 | * If the db version is showing something other that what we've got now, bump it to current. |