|  | @@ 5414-5425 (lines=12) @@ | 
                                                            
                                    | 5411 |  | 	 * @param array $properties | 
                                                            
                                    | 5412 |  | 	 * @return array amended properties. | 
                                                            
                                    | 5413 |  | 	 */ | 
                                                            
                                    | 5414 |  | 	public static function filter_register_request_body( $properties ) { | 
                                                            
                                    | 5415 |  | 		$tracking        = new Tracking(); | 
                                                            
                                    | 5416 |  | 		$tracks_identity = $tracking->tracks_get_identity( get_current_user_id() ); | 
                                                            
                                    | 5417 |  |  | 
                                                            
                                    | 5418 |  | 		return array_merge( | 
                                                            
                                    | 5419 |  | 			$properties, | 
                                                            
                                    | 5420 |  | 			array( | 
                                                            
                                    | 5421 |  | 				'_ui' => $tracks_identity['_ui'], | 
                                                            
                                    | 5422 |  | 				'_ut' => $tracks_identity['_ut'], | 
                                                            
                                    | 5423 |  | 			) | 
                                                            
                                    | 5424 |  | 		); | 
                                                            
                                    | 5425 |  | 	} | 
                                                            
                                    | 5426 |  |  | 
                                                            
                                    | 5427 |  | 	/** | 
                                                            
                                    | 5428 |  | 	 * Filters the token request body to include tracking properties. | 
                                                                                
                                |  | @@ 5433-5444 (lines=12) @@ | 
                                                            
                                    | 5430 |  | 	 * @param array $properties | 
                                                            
                                    | 5431 |  | 	 * @return array amended properties. | 
                                                            
                                    | 5432 |  | 	 */ | 
                                                            
                                    | 5433 |  | 	public static function filter_token_request_body( $properties ) { | 
                                                            
                                    | 5434 |  | 		$tracking        = new Tracking(); | 
                                                            
                                    | 5435 |  | 		$tracks_identity = $tracking->tracks_get_identity( get_current_user_id() ); | 
                                                            
                                    | 5436 |  |  | 
                                                            
                                    | 5437 |  | 		return array_merge( | 
                                                            
                                    | 5438 |  | 			$properties, | 
                                                            
                                    | 5439 |  | 			array( | 
                                                            
                                    | 5440 |  | 				'_ui' => $tracks_identity['_ui'], | 
                                                            
                                    | 5441 |  | 				'_ut' => $tracks_identity['_ut'], | 
                                                            
                                    | 5442 |  | 			) | 
                                                            
                                    | 5443 |  | 		); | 
                                                            
                                    | 5444 |  | 	} | 
                                                            
                                    | 5445 |  |  | 
                                                            
                                    | 5446 |  | 	/** | 
                                                            
                                    | 5447 |  | 	 * If the db version is showing something other that what we've got now, bump it to current. |