Skip to:
Content
Pages
Categories
Search
Top
Bottom

What can the username contain and how many letters, what characters etc?

  • @jemmatates

    Participant

    My default register page does not give any hint to what the username can contain and how long it should be. Can someone give me the full list / hint of the amount of characters and type of characters it can contain please? So I can add it to the label for the user’s knowledge. I have hunted around online but I can’t get a definitive answer.

    Also, when choosing a password a very complicated one it still says it’s too weak is there anyway to change this ‘strengthometre’ setting 🙂 ?

    Thanks for any help

Viewing 6 replies - 1 through 6 (of 6 total)
  • @jemmatates

    Participant

    Ah, on another post I found this for the hint of the password:

    Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! ” ? $ % ^ & ).’ “

    I tried it and using those characters I get a ‘strong’ password. It is still a little over zealous though! As my previous test password is considered strong on all other sites except buddypress which gives the value of ‘very weak’ so I would still like to change this setting to be more relaxed but at least I am a little closer to understanding how they measure the strength of the password.

    @henrywright

    Moderator

    sanitize_user() is used on the username at signup time so it should be alphanumeric characters plus _ space . – * and @.

    Ref: https://codex.wordpress.org/Function_Reference/sanitize_user

    @henrywright

    Moderator

    Update: With reference to usernames on the wordpress.org forum:

    Since [dotorg11555] only a-z and 0-9 are allowed for usernames.

    Ref: https://meta.trac.wordpress.org/ticket/1308#comment:13

    I’m not sure if this change will extend to the WordPress platform and BuddyPress.

    @djpaul

    Keymaster

    No, but WordPress multisite and regular WordPress have different character restrictions in the username.

    @henrywright

    Moderator

    …but WordPress multisite and regular WordPress have different character restrictions in the username.

    Nice 🙁

    @djpaul

    Keymaster

    Tell me about it. Serious PITA 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘What can the username contain and how many letters, what characters etc?’ is closed to new replies.
Skip to toolbar