@mentions tags
If a user is tagged and then changes their Community Account Username the tag will remain hyperlinked in the post but it will lead to a broken page.
I see three possible options:
Option 1 β Update all existing mentions
When a username changes, automatically run a search/replace on posts/comments to update the mention URL so it points to the new profile.
Β Option 2 β Permanent redirect
Keep the old username as a redirect slug so any legacy mentions still land on the correct user profile.
Β Option 3 β Internal user ID mention system
Instead of storing the username in the link, store a user ID behind the mention, so the username can change freely without breaking anything.
I like option 3. What is everyone's thoughts on this?
P.S. I'm also having any issue with the system finding a handle that has been changed. This seems to be an isolated event because the system has found other changed handles.
On your post it says it is a poll. But it isnt... That is also a bug right there!
Here
Andre GoisΒ I created a poll and then deleted it because I thought it was silly. But yes, it should probably delete that, too.
Thomas, yep, if the poll is removed from the post, 'created a poll' should be gone too. Noted this issue.
(Update: the work has been done)
Tawsif Ahmed RiyadΒ thanks
Option 3. IDs as the βtrue sourceβ seems to be how WPMN handles other often name changing items, such as tags. So this makes the most sense to me.
Option 3, because this never changes, and they could easily fetch the username based on ID while still making the username searchable how it already is.
This way if the username changes it will automatically update everywhere they are tagged on a page/browser reload.