[wp-hackers] Modify sanitize_user()
Kristopher Murata
krsmurata at gmail.com
Wed Feb 13 15:03:10 GMT 2008
On Feb 12, 2008 3:29 AM, Jeremy Visser <jeremy.visser at gmail.com> wrote:
> On Mon, 2008-02-11 at 23:19 +0100, Ozh wrote:
> > I think there will be a little problem.
> > usernames can contain spaces, and sanitization replaces spaces with a
> > dash ("angus young" -> "angus-young")
> > If you do what you're thinking about, you won't be able to tell if the
> > sanitized dash is a space of a dash, so "angus young" and
> > "angus-young" will have the same sanitized username.
> >
> > Makes sense?
>
Makes totaly sense, thank you for the explanation. I didn't know anything
about this wp feature. :)
>
> So why not use "angus-young-2"? I mean, I thought that you of all people
> would suggest that. ;)
>
More information about the wp-hackers
mailing list