• Hi.

    when trying to register with a username containing capital letters, the message “The username cannot include non-alphanumeric characters.” appears.

    “only “lower case”(!) alphanumeric characters are allowed” should be better?!

    Or am I missing something?

    Regards
    Enno

    https://ww.wp.xz.cn/plugins/wp-members/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    The validation of the submitted username uses the WP function validate_username. Neither the plugin nor WordPress require only lowercase values.

    However, validate_username can be filtered and it also uses sanitize_user which could also be filtered so an outside process (such as another plugin) could change the validation to disallow uppercase.

    Chad, I’m having the same issue on my site. Any thoughts what kinds of other plugins would affect it? As far as I know, this is the only user-related/member-related plugin I have on my site.

    Alternatively, can you suggest a way to trace what’s happening during login so that I can figure out where it’s going wrong?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Registration error: "The username cannot include non-alphanumeric characters."’ is closed to new replies.