As designed User merge updates "Last username change"

Kruzya

Well-known member
Affected version
2.2.7
If administrator merge user X with Y, then Y after merge has "Last username change" value is "A moment ago".
1634456617033.webp
1634456627367.webp
 
We actually insert a record here intentionally so it is clear that one user has essentially become another and there is a public record to make that clear.

If you don’t want the change to be public you can change its visibility from the username change log.
 
@Chris D, why you just don't set "Last username update" to max($a->last_username_update, $b->last_username_update)?
This is strange solution, because this behavior can block ability to change username for end user for a while time (in our case, user can change username only once in 3 months), and they should disturb again staff for resolving issue.
 
Top Bottom