Changes between Initial Version and Version 1 of Ticket #17904, comment 86
- Timestamp:
- 11/24/2023 04:41:41 AM (13 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #17904, comment 86
initial v1 1 So, considering the patch of the PR: 3153, we have got 2 new functions introduced:1 So, considering the patch of the [https://github.com/WordPress/wordpress-develop/pull/3153/ PR: 3153], we have got 2 new functions introduced: 2 2 1. wp_validate_user_login() | wp-includes/user.php 3 3 2. is_username_reserved() | wp-includes/user.php … … 7 7 We have got the {{{ validate_username()}}}function modified, with an additional parameter being passed. So, we need to update the developer blog as well for that function. 8 8 9 We got 7 NEW strings introduced, and 3OLD strings being removed. Added:9 We got 4 NEW strings introduced, and 2 OLD strings being removed. Added: 10 10 11 11 1. Site names can only contain lowercase letters (a-z), numbers, and hyphens. … … 13 13 2. Site names can not begin or end with a hyphen. 14 14 15 3. Please enter a username.15 3. Sorry, that username is invalid. (NOTE: We can use the "Sorry, that username is not allowed" instead of introducing this. 16 16 17 4. Username must be at least 4 characters. (NOTE: We can edit this to "The Username must be at least of 4 characters". 18 19 5. Sorry, usernames must have letters too! 20 21 6. Sorry, that username is invalid. (NOTE: We can use the "Sorry, that username is not allowed" instead of introducing this. 22 23 7. That username is currently reserved, but it may be available in a couple of days. 17 4. That username is currently reserved, but it may be available in a couple of days. 24 18 25 19 Removed: 26 20 27 1. Please enter a username.21 1. This username is already registered. Please choose another one. 28 22 29 2. This username is already registered. Please choose another one. 30 31 3. Site names can only contain lowercase letters (a-z) and numbers. 23 2. Site names can only contain lowercase letters (a-z) and numbers. 32 24 33 25 As this change includes major changes for the login and registration functions for multi-site, we will need a DEV note for this as well.