|  | @@ 5514-5525 (lines=12) @@ | 
                                                            
                                    | 5511 |  | 	 * @param array $properties | 
                                                            
                                    | 5512 |  | 	 * @return array amended properties. | 
                                                            
                                    | 5513 |  | 	 */ | 
                                                            
                                    | 5514 |  | 	public static function filter_register_request_body( $properties ) { | 
                                                            
                                    | 5515 |  | 		$tracking        = new Tracking(); | 
                                                            
                                    | 5516 |  | 		$tracks_identity = $tracking->tracks_get_identity( get_current_user_id() ); | 
                                                            
                                    | 5517 |  |  | 
                                                            
                                    | 5518 |  | 		return array_merge( | 
                                                            
                                    | 5519 |  | 			$properties, | 
                                                            
                                    | 5520 |  | 			array( | 
                                                            
                                    | 5521 |  | 				'_ui' => $tracks_identity['_ui'], | 
                                                            
                                    | 5522 |  | 				'_ut' => $tracks_identity['_ut'], | 
                                                            
                                    | 5523 |  | 			) | 
                                                            
                                    | 5524 |  | 		); | 
                                                            
                                    | 5525 |  | 	} | 
                                                            
                                    | 5526 |  |  | 
                                                            
                                    | 5527 |  | 	/** | 
                                                            
                                    | 5528 |  | 	 * Filters the token request body to include tracking properties. | 
                                                                                
                                |  | @@ 5533-5544 (lines=12) @@ | 
                                                            
                                    | 5530 |  | 	 * @param array $properties | 
                                                            
                                    | 5531 |  | 	 * @return array amended properties. | 
                                                            
                                    | 5532 |  | 	 */ | 
                                                            
                                    | 5533 |  | 	public static function filter_token_request_body( $properties ) { | 
                                                            
                                    | 5534 |  | 		$tracking        = new Tracking(); | 
                                                            
                                    | 5535 |  | 		$tracks_identity = $tracking->tracks_get_identity( get_current_user_id() ); | 
                                                            
                                    | 5536 |  |  | 
                                                            
                                    | 5537 |  | 		return array_merge( | 
                                                            
                                    | 5538 |  | 			$properties, | 
                                                            
                                    | 5539 |  | 			array( | 
                                                            
                                    | 5540 |  | 				'_ui' => $tracks_identity['_ui'], | 
                                                            
                                    | 5541 |  | 				'_ut' => $tracks_identity['_ut'], | 
                                                            
                                    | 5542 |  | 			) | 
                                                            
                                    | 5543 |  | 		); | 
                                                            
                                    | 5544 |  | 	} | 
                                                            
                                    | 5545 |  |  | 
                                                            
                                    | 5546 |  | 	/** | 
                                                            
                                    | 5547 |  | 	 * If the db version is showing something other that what we've got now, bump it to current. |