mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- register action;
This commit is contained in:
@@ -309,10 +309,14 @@ function um_submit_form_register( $args ) {
|
||||
|
||||
// if full name exists
|
||||
$count = 1;
|
||||
while ( username_exists( $user_login ) ) {
|
||||
$user_login .= $count;
|
||||
$temp_user_login = $user_login;
|
||||
while ( username_exists( $temp_user_login ) ) {
|
||||
$temp_user_login = $user_login . $count;
|
||||
$count++;
|
||||
}
|
||||
if ( $temp_user_login !== $user_login ) {
|
||||
$user_login = $temp_user_login;
|
||||
}
|
||||
}
|
||||
|
||||
if ( ! isset( $user_login ) && isset( $user_email ) && $user_email ) {
|
||||
|
||||
@@ -144,6 +144,9 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
|
||||
- Fixed fields labels on member directory
|
||||
- Fixed profile form cover photo ratio value
|
||||
- Fixed profile and registration form default field's values
|
||||
- Fixed member directory notices with disabled metadata
|
||||
- Fixed textarea profile field formatting
|
||||
- Fixed registration without username field
|
||||
|
||||
= 2.0.38: January 10, 2019 =
|
||||
|
||||
|
||||
Reference in New Issue
Block a user