|  | @@ 5402-5413 (lines=12) @@ | 
                                                            
                                    | 5399 |  | 	 * @param array $properties | 
                                                            
                                    | 5400 |  | 	 * @return array amended properties. | 
                                                            
                                    | 5401 |  | 	 */ | 
                                                            
                                    | 5402 |  | 	public static function filter_register_request_body( $properties ) { | 
                                                            
                                    | 5403 |  | 		$tracking        = new Tracking(); | 
                                                            
                                    | 5404 |  | 		$tracks_identity = $tracking->tracks_get_identity( get_current_user_id() ); | 
                                                            
                                    | 5405 |  |  | 
                                                            
                                    | 5406 |  | 		return array_merge( | 
                                                            
                                    | 5407 |  | 			$properties, | 
                                                            
                                    | 5408 |  | 			array( | 
                                                            
                                    | 5409 |  | 				'_ui' => $tracks_identity['_ui'], | 
                                                            
                                    | 5410 |  | 				'_ut' => $tracks_identity['_ut'], | 
                                                            
                                    | 5411 |  | 			) | 
                                                            
                                    | 5412 |  | 		); | 
                                                            
                                    | 5413 |  | 	} | 
                                                            
                                    | 5414 |  |  | 
                                                            
                                    | 5415 |  | 	/** | 
                                                            
                                    | 5416 |  | 	 * Filters the token request body to include tracking properties. | 
                                                                                
                                |  | @@ 5421-5432 (lines=12) @@ | 
                                                            
                                    | 5418 |  | 	 * @param array $properties | 
                                                            
                                    | 5419 |  | 	 * @return array amended properties. | 
                                                            
                                    | 5420 |  | 	 */ | 
                                                            
                                    | 5421 |  | 	public static function filter_token_request_body( $properties ) { | 
                                                            
                                    | 5422 |  | 		$tracking        = new Tracking(); | 
                                                            
                                    | 5423 |  | 		$tracks_identity = $tracking->tracks_get_identity( get_current_user_id() ); | 
                                                            
                                    | 5424 |  |  | 
                                                            
                                    | 5425 |  | 		return array_merge( | 
                                                            
                                    | 5426 |  | 			$properties, | 
                                                            
                                    | 5427 |  | 			array( | 
                                                            
                                    | 5428 |  | 				'_ui' => $tracks_identity['_ui'], | 
                                                            
                                    | 5429 |  | 				'_ut' => $tracks_identity['_ut'], | 
                                                            
                                    | 5430 |  | 			) | 
                                                            
                                    | 5431 |  | 		); | 
                                                            
                                    | 5432 |  | 	} | 
                                                            
                                    | 5433 |  |  | 
                                                            
                                    | 5434 |  | 	/** | 
                                                            
                                    | 5435 |  | 	 * If the db version is showing something other that what we've got now, bump it to current. |