Make WordPress Core

Opened 15 years ago

Closed 13 years ago

Last modified 13 years ago

#20107 closed enhancement (maybelater)

Add Filter for user_name length in ms user signup

Reported by: hughwillfayle Owned by:
Priority: normal Milestone:
Component: Multisite Version:
Severity: normal Keywords:
Cc: Focuses:

Description

It is difficult for us to explain our clients why they cannot have usernames with 3 chars and left. For that issue I'd like to recommend a filter for that, so we can change this with a plugin.

Attachments (1)

ms-functions.diff​ (898 bytes ) - added by hughwillfayle 15 years ago.
Diff for #20107

Download all attachments as: .zip

Change History (9)

#1 follow-up: @scribu
15 years ago

The wpmu_validate_user_signup() function has some restrictions that aren't present when a user registers on a single-site install, so maybe we should just get rid of them.

#2 @hughwillfayle
15 years ago

Should I work on some more diffs?

#3 @scribu
15 years ago

  • Keywords needs-testing removed

No, we should hear from a core dev first.

#4 @hughwillfayle
15 years ago

I hope that there will be a response before the freeze. Thanks for you feedback :)

#5 @nacin
15 years ago

We should probably figure out a way for all of the issues in wpmu_validate_user_signup() to be filtered en masse. This is not the first problem here.

The reason for this restriction is in subdomain situations, keeping it above three letters allows a namespace for datacenters, country/locale codes, etc. Lots of services have a minimum letter requirement.

#6 @hughwillfayle
15 years ago

@nacin: I know that lots of services have restrictions in this field. But I think, that it would be great to let the service-provider let the choice for that. So yes, we should not approve my patch and create another one, which is able to filter all the posted values to filter. I'm going to write a new patch for that and will add it here.

#7 @jeremyfelt
13 years ago

  • Keywords has-patch dev-feedback removed
  • Milestone Awaiting Review
  • Resolution → maybelater
  • Status new → closed

Closing for the same reasons as #20176. Unless we're ready to discuss this further, wpmu_validate_user_signup is available to re-validate user signup.

#8 in reply to: ↑ 1 @SergeyBiryukov
13 years ago

Replying to scribu:

The wpmu_validate_user_signup() function has some restrictions that aren't present when a user registers on a single-site install, so maybe we should just get rid of them.

Related: #17904

Note: See TracTickets for help on using tickets.