A A A
Forum Scope


Match



Forum Options



Min search length: 3 characters / Max search length: 84 characters
Forum Login
Lost password?
tips-topic
Wordpress usernames, allowable characters?
Avatar
Bart C.
New Jersey, USA
85 Posts
(Offline)
11
Oct 16, 2014 - 11:47 am
Print

took a closer look at the sanitize-User subroutine in the Formatting.php file

line 1132 has a string of characters that look like allowed characters for when the $strict variable is set to TRUE as we did last night.  the code around line 1132 also looks like it’s pointing to this string of characters when $strict=true.

In the string of characters there is a mysterious looking space after the number 9 so I deleted the space, saved the file and tried to register the username “test user”.  before deleting the space it would take the name, change it to testuser, and then welcome the new user to the site.

with the space after the 9 in line 1132 deleted, it now throws an error message and our users will be better for it!

Bart

Avatar
Mr Papa
Simi Valley, CA

19448 Posts
(Offline)
12
Oct 16, 2014 - 8:38 pm
Print

glad you got what you want….

Forum Timezone: America/New_York
All RSSShow Stats
Administrators: Blues Dancer, Simple Press, SP Community Support
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 630
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Newest Members:
Reno Finder
David Hnát
Gary Lee
Glen Stewart
Rodney Pacis
kent black
Robert Meharg
test test
Forum Stats:
Groups: 7
Forums: 17
Topics: 10065
Posts: 79363

 

Member Stats:
Guest Posters: 607
Members: 16924
Moderators: 0
Admins: 3

Most Users Ever Online
499
Currently Online
Guest(s)
8
Currently Browsing this Page

1 Guest(s)