@@ 5306-5317 (lines=12) @@ | ||
5303 | * @param Array $properties |
|
5304 | * @return Array amended properties. |
|
5305 | */ |
|
5306 | public static function filter_register_request_body( $properties ) { |
|
5307 | $tracking = new Tracking(); |
|
5308 | $tracks_identity = $tracking->tracks_get_identity( get_current_user_id() ); |
|
5309 | ||
5310 | return array_merge( |
|
5311 | $properties, |
|
5312 | array( |
|
5313 | '_ui' => $tracks_identity['_ui'], |
|
5314 | '_ut' => $tracks_identity['_ut'], |
|
5315 | ) |
|
5316 | ); |
|
5317 | } |
|
5318 | ||
5319 | /** |
|
5320 | * Filters the token request body to include tracking properties. |
|
@@ 5325-5336 (lines=12) @@ | ||
5322 | * @param Array $properties |
|
5323 | * @return Array amended properties. |
|
5324 | */ |
|
5325 | public static function filter_token_request_body( $properties ) { |
|
5326 | $tracking = new Tracking(); |
|
5327 | $tracks_identity = $tracking->tracks_get_identity( get_current_user_id() ); |
|
5328 | ||
5329 | return array_merge( |
|
5330 | $properties, |
|
5331 | array( |
|
5332 | '_ui' => $tracks_identity['_ui'], |
|
5333 | '_ut' => $tracks_identity['_ut'], |
|
5334 | ) |
|
5335 | ); |
|
5336 | } |
|
5337 | ||
5338 | /** |
|
5339 | * If the db version is showing something other that what we've got now, bump it to current. |