diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php index d26026e51f..88d233d4af 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php @@ -1245,7 +1245,7 @@ class WP_REST_Users_Controller extends WP_REST_Controller { if ( ! validate_username( $username ) ) { return new WP_Error( 'rest_user_invalid_username', - __( 'Username contains invalid characters.' ), + __( 'This username is invalid because it uses illegal characters. Please enter a valid username.' ), array( 'status' => 400 ) ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 803bbabef9..2c8f5faf90 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-48194'; +$wp_version = '5.5-alpha-48195'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.