[wp-meta] [Making WordPress.org] #6012: Mentions for older usernames that used ot contain non-allowed characters do not work with new sanitized slugs
Making WordPress.org
noreply at wordpress.org
Tue Jan 4 12:00:20 UTC 2022
#6012: Mentions for older usernames that used ot contain non-allowed characters do
not work with new sanitized slugs
--------------------------------------+--------------------
Reporter: Clorith | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone:
Component: Make (Get Involved) / P2 | Keywords:
--------------------------------------+--------------------
The mentions plugin that auto-links usernames when prefixed with `@` is
struggling a little when presented with old-style usernames that used to
contain a period in them.
The period is identified as a stop, and only the part before the period is
treated as the username, and using the sanitized version of the username
without a period, as redirected to by profiles.wordpress.org, is not
recognized as a username at all.
See the user `henry.wright` as linked to in
https://make.wordpress.org/core/2022/01/04/a-week-in-core-january-3-2022/
(manually linked to with the sanitized username for now, hence the
different visuals of the link).
The use of `@henry.wright` would only link to the user `@henry`, and
leaving `.wright` as plaintext, and the link would go to
`https://profiles.wordpress.org/henry/`.
Visiting `https://profiles.wordpress.org/henry.wright/` redirects you to
the sanitized version at `https://profiles.wordpress.org/henrywright/`.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/6012>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list