diff --git a/includes/core/um-actions-register.php b/includes/core/um-actions-register.php index a6523d5c..984eb9da 100644 --- a/includes/core/um-actions-register.php +++ b/includes/core/um-actions-register.php @@ -333,7 +333,7 @@ function um_submit_form_register( $args ) { } $user_login = sanitize_user( strtolower( remove_accents( $user_login ) ), true ); - if ( $user_login ) { + if ( ! empty( $user_login ) ) { $count = 1; $temp_user_login = $user_login; while ( username_exists( $temp_user_login ) ) { diff --git a/readme.txt b/readme.txt index 8aaef4ee..7f08d3f5 100644 --- a/readme.txt +++ b/readme.txt @@ -155,6 +155,11 @@ The plugin works with popular caching plugins by automatically excluding Ultimat * To learn more about version 2.1 please see this [docs](https://docs.ultimatemember.com/article/1512-upgrade-2-1-0) * UM2.1+ is a significant update to the Member Directories' code base from 2.0.x. Please make sure you take a full-site backup with restore point before updating the plugin += 2.1.16: March xx, 2021 = + +* Bugfixes: + - Fixed user creating without username but based on first+last name with not-ASCII symbols + = 2.1.15: December 24, 2020 = * Bugfixes: