| @@ 74-85 (lines=12) @@ | ||
| 71 | * @param array $properties Already prepared tracking properties. |
|
| 72 | * @return array amended properties. |
|
| 73 | */ |
|
| 74 | public static function filter_register_request_body( $properties ) { |
|
| 75 | $tracking = new Tracking(); |
|
| 76 | $tracks_identity = $tracking->tracks_get_identity( get_current_user_id() ); |
|
| 77 | ||
| 78 | return array_merge( |
|
| 79 | $properties, |
|
| 80 | array( |
|
| 81 | '_ui' => $tracks_identity['_ui'], |
|
| 82 | '_ut' => $tracks_identity['_ut'], |
|
| 83 | ) |
|
| 84 | ); |
|
| 85 | } |
|
| 86 | ||
| 87 | } |
|
| 88 | ||
| @@ 5152-5163 (lines=12) @@ | ||
| 5149 | * @param array $properties |
|
| 5150 | * @return array amended properties. |
|
| 5151 | */ |
|
| 5152 | public static function filter_token_request_body( $properties ) { |
|
| 5153 | $tracking = new Tracking(); |
|
| 5154 | $tracks_identity = $tracking->tracks_get_identity( get_current_user_id() ); |
|
| 5155 | ||
| 5156 | return array_merge( |
|
| 5157 | $properties, |
|
| 5158 | array( |
|
| 5159 | '_ui' => $tracks_identity['_ui'], |
|
| 5160 | '_ut' => $tracks_identity['_ut'], |
|
| 5161 | ) |
|
| 5162 | ); |
|
| 5163 | } |
|
| 5164 | ||
| 5165 | /** |
|
| 5166 | * If the db version is showing something other that what we've got now, bump it to current. |
|