Opened 9 years ago
Closed 9 years ago
#33336 closed enhancement (fixed)
Suggested changes to text string 'Only lowercase letters (a-z) and numbers are allowed'
Reported by: | stillingen | Owned by: | DrewAPicture |
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | 4.2.4 |
Component: | Text Changes | Keywords: | has-patch |
Focuses: | administration, multisite | Cc: |
Description
Hi.
The text string 'Only lowercase letters (a-z) and numbers are allowed' does not refer to which field it is related to. This can be a bit confusing for users are filling out fields when creating a new users. I would suggest to change the text so that it refers to the field it is relevant for, e.g: 'Username can only contain lowercase letters(a-z) and numbers, without space'
Code reference;
https://core.trac.wordpress.org/browser/trunk/src/wp-includes/ms-functions.php#L474
https://core.trac.wordpress.org/browser/trunk/src/wp-includes/ms-functions.php#L633
Since the text string both for user and site creation, this would also require a separate text string for site creation, E.g 'Sitename can only contain lowercase letters(a-z) and numbers, without space'
Attachments (5)
Change History (10)
This ticket was mentioned in Slack in #core by bjornjohansen. View the logs.
9 years ago
#3
@
9 years ago
- Milestone changed from Awaiting Review to 4.4
- Owner set to DrewAPicture
- Status changed from new to assigned
I like this, thoughts?
Changes the validation string for Username to make it obvious for which field it is assigned.