|  | @@ 5478-5489 (lines=12) @@ | 
                                                            
                                    | 5475 |  | 	 * @param array $properties | 
                                                            
                                    | 5476 |  | 	 * @return array amended properties. | 
                                                            
                                    | 5477 |  | 	 */ | 
                                                            
                                    | 5478 |  | 	public static function filter_register_request_body( $properties ) { | 
                                                            
                                    | 5479 |  | 		$tracking        = new Tracking(); | 
                                                            
                                    | 5480 |  | 		$tracks_identity = $tracking->tracks_get_identity( get_current_user_id() ); | 
                                                            
                                    | 5481 |  |  | 
                                                            
                                    | 5482 |  | 		return array_merge( | 
                                                            
                                    | 5483 |  | 			$properties, | 
                                                            
                                    | 5484 |  | 			array( | 
                                                            
                                    | 5485 |  | 				'_ui' => $tracks_identity['_ui'], | 
                                                            
                                    | 5486 |  | 				'_ut' => $tracks_identity['_ut'], | 
                                                            
                                    | 5487 |  | 			) | 
                                                            
                                    | 5488 |  | 		); | 
                                                            
                                    | 5489 |  | 	} | 
                                                            
                                    | 5490 |  |  | 
                                                            
                                    | 5491 |  | 	/** | 
                                                            
                                    | 5492 |  | 	 * Filters the token request body to include tracking properties. | 
                                                                                
                                |  | @@ 5497-5508 (lines=12) @@ | 
                                                            
                                    | 5494 |  | 	 * @param array $properties | 
                                                            
                                    | 5495 |  | 	 * @return array amended properties. | 
                                                            
                                    | 5496 |  | 	 */ | 
                                                            
                                    | 5497 |  | 	public static function filter_token_request_body( $properties ) { | 
                                                            
                                    | 5498 |  | 		$tracking        = new Tracking(); | 
                                                            
                                    | 5499 |  | 		$tracks_identity = $tracking->tracks_get_identity( get_current_user_id() ); | 
                                                            
                                    | 5500 |  |  | 
                                                            
                                    | 5501 |  | 		return array_merge( | 
                                                            
                                    | 5502 |  | 			$properties, | 
                                                            
                                    | 5503 |  | 			array( | 
                                                            
                                    | 5504 |  | 				'_ui' => $tracks_identity['_ui'], | 
                                                            
                                    | 5505 |  | 				'_ut' => $tracks_identity['_ut'], | 
                                                            
                                    | 5506 |  | 			) | 
                                                            
                                    | 5507 |  | 		); | 
                                                            
                                    | 5508 |  | 	} | 
                                                            
                                    | 5509 |  |  | 
                                                            
                                    | 5510 |  | 	/** | 
                                                            
                                    | 5511 |  | 	 * If the db version is showing something other that what we've got now, bump it to current. |